On Fri, Jun 8, 2012 at 4:36 AM, Maximilian Fabricius <mfabricius@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