Skip to content
Snippets Groups Projects
Commit e11a94ef authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Have plotly calculate some margins

parent 1413319e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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