diff --git a/ndcube/mixins/plotting.py b/ndcube/mixins/plotting.py index ee72f9fe1..2470eed1f 100644 --- a/ndcube/mixins/plotting.py +++ b/ndcube/mixins/plotting.py @@ -150,7 +150,7 @@ def _plot_3D_cube(self, plot_axis_indices=None, axes_units=None, if plot_axis_indices is None: plot_axis_indices = [-1, -2] if axes_units is None: - axes_units = [None, None] + axes_units = [None, None] i = ImageAnimatorWCS(self.data, wcs=self.wcs, image_axes=plot_axis_indices, unit_x_axis=axes_units[0], unit_y_axis=axes_units[1], axis_ranges=axes_coordinates, **kwargs) diff --git a/ndcube/tests/test_plotting.py b/ndcube/tests/test_plotting.py index bdee098eb..1d44888d4 100644 --- a/ndcube/tests/test_plotting.py +++ b/ndcube/tests/test_plotting.py @@ -87,7 +87,7 @@ def test_cube_plot_1D(test_input, test_kwargs, expected_values): output_ylim = output.axes.get_ylim() assert output_ylim[0] <= expected_ylim[0] assert output_ylim[1] >= expected_ylim[1] - + @pytest.mark.parametrize("test_input, test_kwargs, expected_values", [ (cube[0], {},