From e11a94ef5e8b126cada80d0cbd0cb9517b2c99b7 Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Fri, 17 Mar 2017 10:22:00 -0400 Subject: [PATCH] Have plotly calculate some margins --- .../plugins/algorithms/WorkflowAlgorithms/SavePlot1D.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SavePlot1D.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SavePlot1D.py index ab83e109629..d85e94794bc 100644 --- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SavePlot1D.py +++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SavePlot1D.py @@ -150,7 +150,7 @@ class SavePlot1D(mantid.api.PythonAlgorithm): fig['layout']['yaxis%d' % (i+1)].update(title=ylabel) if len(spectraNames) > 0: # remove the used spectra names spectraNames = spectraNames[len(traces):] - fig['layout'].update(margin={'l':40,'r':0,'t':0,'b':40}) + fig['layout'].update(margin={'r':0,'t':0}) else: (traces, xlabel, ylabel) = self.toScatterAndLabels(self._wksp, spectraNames) -- GitLab