[Matplotlib-users] PyQt4 FigureCanvasQTAgg Subclass segfaults with Matplotlib 1.1?

2012-03-06 Thread Keith Hughitt
Hey all, Anyone know what has changed from Maplotlib 1.0.x to 1.1.x that might cause a PyQt4 application to segfault? Here is the code I'm working on: https://github.com/sunpy/sunpy/blob/master/doc/examples/rgb_composite/rgb_composite.py It works fine with earlier versions of Matplotlib (0.99 an

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Jorge Scandaliaris
Benjamin Root writes: > You might need to do a complete rebuild of your mpl trunk.  I would guess > that > you originally built mpl when you had the older version of libpng.  When you > updated the library, that wouldn't trigger a relink of _png.so whenever you > rebuilt the trunk.  Wipe out

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Benjamin Root
On Tue, Mar 6, 2012 at 12:26 PM, Jorge Scandaliaris wrote: > Benjamin Root writes: > > > > > > Strange. Could you include the entire sphinx output as well as any logs > > that the build produced?Ben Root > > > > Somehow I assumed that matplotlib itself was OK, but I just discovered > something n

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Jorge Scandaliaris
Benjamin Root writes: > > Strange.  Could you include the entire sphinx output as well as any logs > that the build produced?Ben Root > Somehow I assumed that matplotlib itself was OK, but I just discovered something new: In [1]: import matplotlib.mathtext -

[Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-06 Thread Alejandro Weinstein
Hi: I am getting an error when I save a figure as PDF with a particular configuration and when I use a greek latex leter (say $\alpha$) as a ylabel. The following code illustrates the problem. ### import matplotlib.pyplot as plt import matplotlib as mpl

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Jorge Scandaliaris
Benjamin Root writes: > > Strange.  Could you include the entire sphinx output as well as any logs that the build produced?Ben Root > Well, all the output available was what I posted. I don't see any log file in the build directory. I added the -P option to sphinx-build, the output is below. I

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Benjamin Root
On Tue, Mar 6, 2012 at 9:27 AM, Jorge Scandaliaris wrote: > Hi, I updated mpl to trunk today and I received the followin error when > trying > to build the documentation: > > $ python2 make.py html > Running Sphinx v1.1.2 > > Extension error: > Could not import extension matplotlib.sphinxext.mathm

[Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Jorge Scandaliaris
Hi, I updated mpl to trunk today and I received the followin error when trying to build the documentation: $ python2 make.py html Running Sphinx v1.1.2 Extension error: Could not import extension matplotlib.sphinxext.mathmpl (exception: libpng14.so.14: cannot open shared object file: No such file

[Matplotlib-users] Need to add FigureCanvas to another QWidget when using Pyside

2012-03-06 Thread M.
Hi all, I'm trying to make a simple bush a button plot something using matplotlib and pyside, and noticed that one cannot use directly FigureCanvas as the Widget, it has to be added to another QWidget instead. I consider this a bug, but first thought of writing to the mailing list to check it. The