[matplotlib-devel] PySide Backend

2011-09-08 Thread Tiago Bonetti
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


Re: [matplotlib-devel] PySide Backend

2011-09-08 Thread Benjamin Root
On Thursday, September 8, 2011, Tiago Bonetti 
wrote:
> 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
>

Tiago,

Have you had a chance to look at the code in the latest developmental
branch?  There was some work over the summer on this, and I think it is
largely resolved, but testing would be appreciated.

Cheers!
Ben Root
--
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


Re: [matplotlib-devel] PySide Backend

2011-09-08 Thread Tiago Bonetti
I'm new to github, so forgive me if I'm a litlle lost.
I have the most recent master branch from github
matplotlib/
matplotlib  public repository...
I would like to help testing, yet i cant find the dev branch.

Thanks,
Tiago Ferreira Bonetti


On Thu, Sep 8, 2011 at 10:27 PM, Benjamin Root  wrote:

>
>
> On Thursday, September 8, 2011, Tiago Bonetti 
> wrote:
> > 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
> >
>
> Tiago,
>
> Have you had a chance to look at the code in the latest developmental
> branch?  There was some work over the summer on this, and I think it is
> largely resolved, but testing would be appreciated.
>
> Cheers!
> Ben Root
--
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


Re: [matplotlib-devel] PySide Backend

2011-09-08 Thread Eric Firing
On 09/08/2011 03:53 PM, Tiago Bonetti wrote:
> I'm new to github, so forgive me if I'm a litlle lost.
> I have the most recent master branch from github matplotlib
>  / matplotlib
>  public repository...
> I would like to help testing, yet i cant find the dev branch.

It is what you have, the master branch.

Eric

>
> Thanks,
> Tiago Ferreira Bonetti
>
>
> On Thu, Sep 8, 2011 at 10:27 PM, Benjamin Root  > wrote:
>
>
>
> On Thursday, September 8, 2011, Tiago Bonetti
> mailto:tiago.bone...@gmail.com>> wrote:
>  > 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
>  >
>
> Tiago,
>
> Have you had a chance to look at the code in the latest
> developmental branch?  There was some work over the summer on this,
> and I think it is largely resolved, but testing would be appreciated.
>
> Cheers!
> Ben Root
>
>
>
>
> --
> 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


--
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