simple_plot.py and the output (matplot.log) are
> attached. It is when the show() command is run that the
> problem appears.
I didn't see the attachment.
> 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
I didn't see the attachment.
John,
Mea culpa! I forgot to stick them on.
> 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.
I just returned the subscription confirmation, and will append the output
files in a response to that list.
Quick summary: the first two above just ran; the third ran and displayed a
window with the plot. No segfaults on any of them.
Then I ran simple_plot.py a fourth time -- using WXAgg. That generated the
segfault.
Many thanks,
Rich
···
On Thu, 11 Jan 2007, John Hunter wrote:
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerator(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863