Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Framework/PythonInterface/mantid/plots/mantidaxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1717,6 +1717,8 @@ def replace_data(self, workspace, plot_kwargs=None):
:param plot_kwargs: Key word args to pass to plotting function
"""
if plot_kwargs:
if "specNum" in plot_kwargs and plot_kwargs["specNum"] is None:
del plot_kwargs["specNum"]
new_artists = self._data_replace_cb(self._artists, workspace, plot_kwargs)
else:
new_artists = self._data_replace_cb(self._artists, workspace)
Expand Down