Skip to content

Commit 7eaa01a

Browse files
committed
fix: invert yaxis of zw figure
1 parent 0a03844 commit 7eaa01a

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)