From: Benjamin R. <ben...@ou...> - 2012-02-22 04:26:51
|
On Tuesday, February 21, 2012, Michael Rawlins wrote: > > ------------------------------ > *From:* Benjamin Root <ben...@ou... <javascript:_e({}, 'cvml', > 'ben...@ou...');>> > *To:* Michael Rawlins <raw...@ya... <javascript:_e({}, 'cvml', > 'raw...@ya...');>> > *Cc:* "mat...@li... <javascript:_e({}, 'cvml', > 'mat...@li...');>" < > mat...@li... <javascript:_e({}, 'cvml', > 'mat...@li...');>> > *Sent:* Tuesday, February 21, 2012 3:37 PM > *Subject:* Re: [Matplotlib-users] show() does not pop up a window > > > > On Tue, Feb 21, 2012 at 2:28 PM, Michael Rawlins <raw...@ya...<javascript:_e({}, 'cvml', 'raw...@ya...');> > > wrote: > > > I've just installed numpy 1.6 and matplotlib 1.0.0 from source code on two > linux machines, both running linux Ubuntu OS with python installed from > Synaptic Package Manager. I've noticed no anomalies one machine. On the > second machine, graphic window does not pop up. I'm run python > non-interactively. For example: > > > python demo_axes_grid.py > > returns to command prompt without error on misbehaving machine. That same > standard program works fine on the other machine. Interestingly, everything > was working fine yesterday under version 0.99. > > Mike > > > Mike, > > At the very least, please try out v1.0.1, but I recommend v1.1.0. These > releases contains many fixes to the show() behavior. If it still doesn't > work, could you please attach your mpl build log? > > Ben Root > > > I've removed v1.0.0 and installed v1.1.0. Tried Eric's suggestion. > > >python > Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) > [GCC 4.4.1] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import matplotlib > >>> print matplotlib.get_backend() > agg > >>> > > > Then quit python and ran demo. > > >python demo_axes_grid.py > > No plot window came up. > > Ben: Where is the build log? A file name? Does the build require and > option to be given to produce the log? > > Mike > The results show that none of the backends are building and you are only getting the non-interactive backends. For the build log, just redirect the output to a file, like so: python setup.py install > build.log Ben Root |