GTK3 backend for matplotlib?

Hi

Is anyone working on a Gtk3 backend for matplotlib that use the pygobject API?

I could not find any information about how to use the matplotlib with
Gtk3, so I started to port the Gtk2 backend to the pygobject API, and
using the cairo backend for renderering.

I'm attaching a tarboll that contains the backend_gtk3.py file and
some test scripts for embedding a matplotlib figure in Gtk3
applications using that backend. I think it works alright for the use
cases that I've been able to test, so it might be a good starting
point for a Gtk3 backend if there are no other attempts to create such
a backend already.

Best regards
Robert

backend-gtk3.tar.gz (10.3 KB)

Thanks. I spent about a day last week working on this as well – I
have a local branch for it. When I get the chance, I’ll have a look
at this and compare notes. Submitting a github pull request would
be great if you’re able.

Mike
···

jrjohansson@…149…


Hi
Is anyone working on a Gtk3 backend for matplotlib that use the pygobject API?
I could not find any information about how to use the matplotlib with
Gtk3, so I started to port the Gtk2 backend to the pygobject API, and
using the cairo backend for renderering.
I'm attaching a tarboll that contains the backend_gtk3.py file and
some test scripts for embedding a matplotlib figure in Gtk3
applications using that backend. I think it works alright for the use
cases that I've been able to test, so it might be a good starting
point for a Gtk3 backend if there are no other attempts to create such
a backend already.
Best regards
Robert


RSA(R) Conference 2012
Save $700 by Nov 18
Register now


Matplotlib-devel mailing list

-- Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

http://p.sf.net/sfu/rsa-sfdev2dev1


Matplotlib-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-devel