-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the gtk3agg backend work on python3? #1227
Conversation
Sorry -- this is an error on my part in the release notes. I'll fix that. It doesn't work yet, given the lack of "Surface.create_for_data" in pycairo. It's not clear to me when that will be implemented in a released version and why it hasn't been. See my e-mail question here: http://lists.cairographics.org/archives/cairo/2011-November/022519.html |
I have updated the docs, but I am leaving this open with "upstream fix required" so we can track the progress of Cairo. |
Yes, I believe for the time being you need to build pycairo from the git repository from source. |
Unfortunately they didn't build another version and don't seem worried about this either. Isn't there another option besides pycairo to make matplotlib available in GTK3 with Python3? It's disappointing to have matplotlib, numpy and pygobject working with Python3 but not being able to integrate all this amazing tools. |
Yes -- it is annoying. Unfortunately, I don't think there's a technical workaround from our end -- all we can do it put more pressure on the pycairo folks to make a new release. |
What would be the easiest way to see if cairocffi (which seems to have ImageSurface.create_for_data() ) could work with matplotlib? |
@fariza Do you know if gtk + py3k works now? |
@tacaswell I don't know |
pycairo still hasn't had a release since 2011. However, as @mattip suggested (8 months ago, now, sorry), |
failures are more smoketest time outs. |
Does the gtk3agg backend work on python3?
This has been fixed by using cairocffi according to matplotlib#1227
This has been fixed by using cairocffi according to matplotlib#1227
This has been fixed by using cairocffi according to matplotlib#1227
I also meet this problem. |
@SchrodengerY If you use |
Whatsnew indicates that the gtk3agg backend works on python3. However
backend_gtk3agg.py still contains a warning about in not working:
and I'm still seeing the error given in the original pull request (#590) when using this backend on python3
on ubuntu 12.04.
Does it work with more resent versions of the gtk3 bindings for python3?
Edit: Ubuntu 12.04 ships with python3-gi 3.2.2