Skip to content

Commit

Permalink
fix(plotting): correct axis labels in plot_array_2d
Browse files Browse the repository at this point in the history
  • Loading branch information
kmnhan committed Dec 3, 2024
1 parent e76d7bd commit 2fa358a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/erlab/plotting/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ def plot_array_2d(
)

im = ax.imshow(img, extent=array_extent(larr, rtol, atol), **imshow_kw)
ax.set_xlabel(str(larr.dims[0]))
ax.set_ylabel(str(larr.dims[1]))
ax.set_xlabel(str(larr.dims[1]))
ax.set_ylabel(str(larr.dims[0]))
fancy_labels(ax)

if colorbar:
Expand Down

0 comments on commit 2fa358a

Please sign in to comment.