Saving interactive plot

Is there a way to save interactive plot in matplotlib

···

--
Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html

Hi,

I am not sure that I understand the question. If by interactive you mean
in a interactive session, then the following in your shell should do
what you want:

plt.savefig("my_figure.png", dpi=300)  # save a PNG of the last active 
figure with 300 DPI

fig.savefig("my_figure.png", dpi=300)  # does as above but one 
explicitely specifies the figure to save

Yet another option is to directly use the ?Save? button (pictured as a
stylised floppy drive) in the figure window.

Best,
Adrien

···

On 09/08/2017 12:31 PM, cdpnepal wrote:

Is there a way to save interactive plot in matplotlib

--
Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page

You can press the floppy-disk icon in the figure window to bring up a
save-file dialog.

Ben Root

···

On Fri, Sep 8, 2017 at 3:31 PM, cdpnepal <cdpnepal594 at gmail.com> wrote:

Is there a way to save interactive plot in matplotlib

--
Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-
f3.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170908/36ac4d59/attachment-0001.html&gt;