From: John H. <jd...@gm...> - 2012-03-28 15:19:53
|
On Wed, Mar 28, 2012 at 8:57 AM, Neal Becker <ndb...@gm...> wrote: > qt-x11-4.8.0-7.fc16.x86_64 > PyQt4-4.8.6-1.fc16.x86_64 > > But interestingly, I'm not actually using the display in this script. I'm > using > pdfpages. At the beginning of your script (before importing pylab/pyplot) you should be doing import matplotlib matplotlib.use('pdf') It looks like you are inadvertently importing the qt library in a headless script run. JDH |