Commit b71adcda authored by Sean's avatar Sean
Browse files

Fix documentation plotting

parent 27e5b84b
......@@ -19,5 +19,5 @@ uoutput nout:db:deg
""")
solution = parser.solution()
plot = solution.plot_responses()
solution.save_figure(plot, sys.argv[1])
plotter = solution.plot_responses()
plotter.save(sys.argv[1])
......@@ -62,5 +62,5 @@ solution = analysis.calculate(frequencies=frequencies, input_type="voltage", nod
sink="nout", incoherent_sum=True)
# Plot.
plot = solution.plot_noise(sink="nout")
solution.save_figure(plot, sys.argv[1])
plotter = solution.plot_noise(sink="nout")
plotter.save(sys.argv[1])
......@@ -50,5 +50,5 @@ solutionrf.name = "RF Circuit"
solution = solutionlf.combine(solutionrf)
# Plot.
plot = solution.plot_responses()
solution.save_figure(plot, sys.argv[1])
plotter = solution.plot_responses()
plotter.save(sys.argv[1])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment