Skip to content

Commit

Permalink
Update _base.py (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkohler committed Feb 27, 2023
1 parent 4e36b68 commit 07a17ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WrightTools/artists/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _parse_plot_args(self, *args, **kwargs):
raise wt_exceptions.ValueError("Cannot squeeze axis to fit channel")
zi = data.channels[channel_index].points
if not zi.ndim == 2:
raise wt_exceptions.DimensionalityError(ndim, data.ndim)
raise wt_exceptions.DimensionalityError(zi.ndim, data.ndim)
squeeze = tuple([0 if i else slice(None) for i in squeeze])
if plot_type == "imshow":
if "aspect" not in kwargs.keys():
Expand Down

0 comments on commit 07a17ec

Please sign in to comment.