Skip to content
Snippets Groups Projects
Commit b7e6a184 authored by Brandon Hewer's avatar Brandon Hewer
Browse files

Update SavePlot1D docs

Refs #20827
parent 7ba836ed
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ Usage in autoreduction ...@@ -72,7 +72,7 @@ Usage in autoreduction
div = SavePlot1D(InputWorkspace='w1', OutputType='plotly') div = SavePlot1D(InputWorkspace='w1', OutputType='plotly')
from postprocessing.publish_plot import publish_plot from postprocessing.publish_plot import publish_plot
request = publish_plot('TESTINSTRUMENT', 12345, files={'file':div}) request = publish_plot('TESTINSTRUMENT', 12345, files={'file':div})
print "post returned %d" % request.status_code print("post returned {}".format(request.status_code))
To see what the result looks like on your local system, add the To see what the result looks like on your local system, add the
``Filename`` argument (``.html`` extension) and change to ``Filename`` argument (``.html`` extension) and change to
......
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