On Wed, Mar 28, 2012 at 1:22 PM, Neal Becker
<ndbecker2@...> wrote:
> import matplotlib
> matplotlib.use('pdf')
>
> It looks like you are inadvertently importing the qt library in a headless
> script run.
>
> JDH
Thanks, but should that cause a (scary looking) error? Or is there a real
problem?
It's just a clean up error in the qt destructors I think. You are basically in an unsupported use case: using a gui backend, but not raising the figures with show, so our initialization code doesn't get run properly, which means the clean up may not be properly configured. Our work is hard enough supporting all the GUI toolkits across multiple operating systems -- I don't know that we want to get into trying to support *unsupported* use cases.
JDH
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel