Skip to content

Commit 6297177

Browse files
authored
Merge pull request #133 from scipp/invert-yaxis
fix: invert yaxis of zw figure
2 parents da8aaee + 907219b commit 6297177

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ess/amor/figures.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ def wavelength_z_figure(
275275
kwargs.setdefault('cbar', True)
276276
kwargs.setdefault('norm', 'log')
277277
kwargs.setdefault('grid', True)
278-
return pp.imagefigure(*(pp.Node(h) for h in hs), **kwargs)
278+
p = pp.imagefigure(*(pp.Node(h) for h in hs), **kwargs)
279+
p.ax.invert_yaxis()
280+
return p
279281

280282

281283
def wavelength_theta_diagnostic_figure(

0 commit comments

Comments
 (0)