OK thanks so perhaps I should also try another backend then? What do other mac users opt for?
ps. that works by the way. John Hunter-4 wrote: > > On Thu, Nov 11, 2010 at 6:32 AM, mdekauwe <mdeka...@gmail.com> wrote: >> >> It isn't any one script, if you did >> >> import numpy as np >> import matplotlib.pyplot as plt >> x = np.arange(10) >> for i in xrange(10): >> plt.plot(x) >> plt.savefig('x.png') >> >> it pops up the plot window even though I didn't ask it to. I don't get >> this >> functionality on a non mac system. So I wonder if it relates to the >> choice >> of backend > > > I see -- so it is raising the window even w/o show. This is a bug, > but a minor one. I suggest at the top of your script (before pyplot > import) doing > > import matplotlib > matplotlib.use('agg') > > if you only want to save hardcopy png -- macosx may not support > offline rendering. > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://old.nabble.com/Mac-OSX-backend-tp30188676p30189678.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users