I was trying for dome time to use the Pyside Backend (qt4Agg with pySide),
with no success, but after reading the beckend code I've finally made it.
After installing the 1.0.1 version on my Ubuntu, I've noticed the
installation doesn't check for pySide what is strange yet, not the point
here...

The trick was quite simple, forcing the QtGui and QtCore to be declared from
pySide module. This is done inside qt4_compat.py checking for the string
inside: rcParams['backend.qt4'].
This dictionary I don't know where It comes from, so, just altering during
runtime was enough to make the example "embedding_in_qt4.py" work.
There is any better way to choose between pySide and pyQt? Couldn't they be
separated in to individual backends?

Yet  I understand this information is not easily available on the Internet,
so i'm trying to share it.

Thanks,
Tiago Ferreira Bonetti
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to