Skip to content

Commit

Permalink
Merge pull request #334 from European-XFEL/grid
Browse files Browse the repository at this point in the history
Add back grid lines for DataArray plots
  • Loading branch information
JamesWrigley authored Sep 13, 2024
2 parents aba2427 + b799785 commit c3db819
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions damnit/gui/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ def __init__(self, parent, data, **kwargs):
self._nan_warning_label.show()

data.plot(ax=self._axis)
self._axis.grid()
self._setup_scroll_zoom()
# The plot call above can add axis labels, so we need to do this again
self.figure.tight_layout()
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

Fixed:

- Added back grid lines for plots of `DataArray`'s (!334).

## [0.1.4]

2024-09-03
Expand Down

0 comments on commit c3db819

Please sign in to comment.