On Fri, Jun 8, 2012 at 4:36 AM, Maximilian Fabricius
<mfabric...@gmail.com>wrote:

> Hi all,
>
> it seems that whenever I plot something, a window opens.
>
> from matplotlib import pylab
> import numpy
> pylab.plot(numpy.random.normal(size=100))
>
> Now, I have code that is supposed to produce diagnostic plots as PDFs. Only
> when I pass a command line option the script should actually open a
> window and also display
> the results on the screen.
>
> I am pretty sure that in earlier times the window would only open when
> I call pylab.show().
>
> It may well be that I messed too much with my matplotlibrc, if you
> could just point me in the right direction ...
>
> I use matplotlib 1.0.1 on a Mac with the MacOSX backend.
>
> Maximilian
>
>
You should see if you accidentially turned on the interactive mode.  Just
make sure that the "interactive" setting is set to False.

Ben Root
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to