On Wed, Jun 12, 2013 at 10:28 PM, Sudheer Joseph
<sudheer.jos...@yahoo.com>wrote:

> Dear experts,
> I start ipython in ipython qtconsole --pylab=inline mode and make a plot.
> But if I use savefig('fig.png') the figure do not get saved instead I get a
> blank page.
>
>  I also tried img.save('fig.png',png) but no use. Is there a way out or I
> need to do this after quitting and restarting in normal mode each time I
> want to save?
>
> ipython qtconsole --pylab=inline
>
>
> In [93]: ts.plot()
> Out[93]: <matplotlib.axes.AxesSubplot at 0x9135490>
>

The fig is destroyed after it has been displayed by the console. Try saving
it before it gets shown.
-p
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to