First, you folks respond faster than lightning -- I can't keep up!
Second, thanks for the tip -- that's definitely more elegant than my callow
approach.
John Hunter-4 wrote:
>
> On Thu, Sep 1, 2011 at 1:23 PM, CompBio wrote:
>
>> BTW, the reason I specify a PDF bac
the scenes" such as an
X-window display. It's working the way I want now, so I assume that's what
it's doing.
Benjamin Root-2 wrote:
>
> On Thursday, September 1, 2011, CompBio wrote:
>>
>> I'm trying to get a script to work in batch mode to produce
I'm trying to get a script to work in batch mode to produce a large number of
plots. I've got the following sequence of imports in a matplotlib Python
script:
import matplotlib, os, sys
...
if file_ext == 'png' :
sys.stderr.write('Using PNG output format\n')
matplotlib.use('agg')
elif fi