Re: [Matplotlib-users] test before show

2009-04-13 Thread Douglas Macdonald
Dear Eric and John, Thank both for your help. John, I'll use your solution for now. Eric, when it comes through my repository, I'll try your solution. Again thanks. Best, Douglas 2009/4/13 Eric Firing : > John Hunter wrote: >> >> On Thu, Apr 9, 2009 at 4:02 PM, mm2ps >> wrote: >>> >>> Hi,

Re: [Matplotlib-users] test before show

2009-04-12 Thread Eric Firing
John Hunter wrote: > On Thu, Apr 9, 2009 at 4:02 PM, mm2ps wrote: >> Hi, >> >> How would you check that there is something to show() before you show()? > > Although it is a bit inelegant, you could use the _pylab_helpers > module to see how many figure managers are active In svn trunk this is ex

Re: [Matplotlib-users] test before show

2009-04-12 Thread John Hunter
On Thu, Apr 9, 2009 at 4:02 PM, mm2ps wrote: > > Hi, > > How would you check that there is something to show() before you show()? Although it is a bit inelegant, you could use the _pylab_helpers module to see how many figure managers are active home:~> ipython -pylab Python 2.5 (r25:51918, Sep

[Matplotlib-users] test before show

2009-04-12 Thread mm2ps
Hi, How would you check that there is something to show() before you show()? Thank you, Douglas -- View this message in context: http://www.nabble.com/test-before-show-tp22979149p22979149.html Sent from the matplotlib - users mailing list archive at Nabble.com. -