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
Trouble importing GTK when pyplot is imported #2901
Comments
Which backend does pyplot use. Try setting the backend with matplotlib.use() before importing pyplot |
By default it's using "GTKAgg" ( I tried to set it explicitly:
I did a search through matplotlib code and saw occurrences of "import gobject", should I go through and change them to the suggestion and see if that works, maybe do a pull request if it does? edit:... Or maybe I could try and use |
Ok, I built matplotlib from git, and it uses Thanks for the hint @jenshnielsen |
GtkAgg uses the old |
And if I import GTK first then pyplot I get a segfault.
Arch Linux x86_64
Python 2.7.6 (default, Feb 26 2014, 12:07:17) [GCC 4.8.2 20140206 (prerelease)] on linux2
The text was updated successfully, but these errors were encountered: