From: John H. <jd...@gm...> - 2012-03-28 18:37:08
|
On Wed, Mar 28, 2012 at 1:22 PM, Neal Becker <ndb...@gm...> 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 |