diff --git a/Framework/PythonInterface/mantid/plots/plotfunctions.py b/Framework/PythonInterface/mantid/plots/plotfunctions.py index 9b6a273d5cfa4ec4bd175afa6e73606f2528aaad..b95363852812e3d70a97202bc855b7f3dcbd03cd 100644 --- a/Framework/PythonInterface/mantid/plots/plotfunctions.py +++ b/Framework/PythonInterface/mantid/plots/plotfunctions.py @@ -133,7 +133,7 @@ def plot(axes, workspace, *args, **kwargs): dimension """ x, y, args, kwargs = _plot_impl(axes, workspace, args, kwargs) - return axes.plot(x, y, **kwargs) + return axes.plot(x, y, *args, **kwargs) def errorbar(axes, workspace, *args, **kwargs): diff --git a/Framework/PythonInterface/test/python/mantid/plots/plots__init__Test.py b/Framework/PythonInterface/test/python/mantid/plots/plots__init__Test.py index 40b4475d1dcecd3b7b5f8ba1055f48ee9aa54a60..041e807df189b8c734ac7385ab8fe28074bd80c3 100644 --- a/Framework/PythonInterface/test/python/mantid/plots/plots__init__Test.py +++ b/Framework/PythonInterface/test/python/mantid/plots/plots__init__Test.py @@ -47,7 +47,8 @@ class Plots__init__Test(unittest.TestCase): self.fig, self.ax = None, None def test_line2d_plots(self): - self.ax.plot(self.ws2d_histo, specNum=2, linewidth=6) + self.ax.plot(self.ws2d_histo, 'rs', specNum=2, linewidth=6) + self.assertEqual('r', self.ax.lines[-1].get_color()) self.ax.plot(np.arange(10), np.arange(10), 'bo-') def test_errorbar_plots(self):