>>>>> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes:
Rich> simple_plot.py and the output (matplot.log) are
Rich> attached. It is when the show() command is run that the
Rich> problem appears.
I didn't see the attachment.
Rich> How do I specify the backend for a run of the script?
Create a minimal script:
from pylab import plot, savefig, show
plot([1,2,3])
savefig('test')
show()
and run it with
> python myscript.py --verbose-debug -dAgg >& runagg.out
> python myscript.py --verbose-debug -dPS >& runps.out
> python myscript.py --verbose-debug -dGTK >& rungtk.out
You may want to move this conversation over to the devel list.
JDH
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users