> On Wed, Sep 15, 2010 at 3:03 AM, David Trémouilles <david.t...@gmail.com
> <mailto:david.t...@gmail.com>> wrote:
>     Hello,
>       Does anybody know if matplotlib work with pyside ?
>     If it does how to use matplotib with pyside ?
>     Thanks,
>     David
> David,
> I am not familiar with PySide, so I looked it up.  Please correct me if
> I am wrong, but it appears to be an alternative to PyQt for licensing
> reasons, and the FAQ says that it is API compatible.  On the python side
> of matplotlib, I wonder if using PySide would be as simple as just
> replacing all of the "import PyQt" or "import PyQt4" with "import
> PySide" (and all the "from PyQt import ...").
> Does PySide still use the same compiled Qt libraries that PyQt uses?  If
> so, then I don't *think* you need to recompile the Qt backends, but I am
> not entirely sure.
> Good luck!
> Ben Root

Hi Ben,
I did try to roughly replace PyQt4 import by PySide import
in my installed matplotlib but pyplot.plot function led to a seg fault...
(PyQt and PySide where indeed compiled with the same Qt lib)

I'm not skilled enough to go further on...

Thanks for your help,


Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
Matplotlib-users mailing list

Reply via email to