Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Remove unnecessary pyplot import from axes_grid1#4398
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This was causing pyplot to be imported, and the backendset, as soon as axes_grid1 was imported by anything, includingseemingly unrelated packages like basemap. As a result, onecould not use "matplotlib.use('agg')" after importing basemap.
The Travis failure on Python 2.6 is unrelated: |
Looks good to me. It looks like pyplot was only imported for the if main examples to run (Which where disabled anyway) |
@efiring Do we want to prserve those examples someplace else? |
MNT : Remove unnecessary pyplot import from axes_grid1
MNT : Remove unnecessary pyplot import from axes_grid1
tacaswell commentedMay 3, 2015 • edited by QuLogic
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by QuLogic
Uh oh!
There was an error while loading.Please reload this page.
|
I didn't really look at the examples; they appeared to be detritus from the development stage. There are axes_grid1 examples in our gallery.@leejjoon, comments? |
This was causing pyplot to be imported, and the backend
set, as soon as axes_grid1 was imported by anything, including
seemingly unrelated packages like basemap. As a result, one
could not use "matplotlib.use('agg')" after importing basemap.
This should be back-ported to color_overhaul.