Skip to content
Snippets Groups Projects
Unverified Commit 7c144cac authored by PhilColebrooke's avatar PhilColebrooke Committed by GitHub
Browse files

Merge branch 'master' into 28470_axis_scale_settings_swapped

parents ca42e322 1e024073
No related branches found
No related tags found
No related merge requests found
...@@ -39,5 +39,6 @@ Bugfixes ...@@ -39,5 +39,6 @@ Bugfixes
- Opening figure options on a plot with an empty legend no longer causes an unhandled exception. - Opening figure options on a plot with an empty legend no longer causes an unhandled exception.
- Fixed being able to zoom in and out of colorbars on colorfill plots. - Fixed being able to zoom in and out of colorbars on colorfill plots.
- Fixed the default axis scale settings applying to the wrong axis. - Fixed the default axis scale settings applying to the wrong axis.
- Performing an overplot by dragging workspaces onto colorfill plots now correctly replaces the workspace.
:ref:`Release 5.1.0 <v5.1.0>` :ref:`Release 5.1.0 <v5.1.0>`
...@@ -126,7 +126,7 @@ class FigureWindow(QMainWindow, ObservingView): ...@@ -126,7 +126,7 @@ class FigureWindow(QMainWindow, ObservingView):
fig = self._canvas.figure fig = self._canvas.figure
fig_type = figure_type(fig, ax) fig_type = figure_type(fig, ax)
if fig_type == FigureType.Image: if fig_type == FigureType.Image:
pcolormesh_from_names(names, fig=fig, ax=ax) pcolormesh_from_names(names, fig=fig)
else: else:
plot_from_names(names, errors=(fig_type == FigureType.Errorbar), plot_from_names(names, errors=(fig_type == FigureType.Errorbar),
overplot=ax, fig=fig) overplot=ax, fig=fig)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment