Skip to content
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

Remove unnecessary pyplot import from axes_grid1 #4398

Merged
merged 1 commit into from
May 3, 2015

Conversation

efiring
Copy link
Member

@efiring efiring commented May 3, 2015

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.

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.
@efiring
Copy link
Member Author

efiring commented May 3, 2015

The Travis failure on Python 2.6 is unrelated:
FAIL: matplotlib.tests.test_mathtext.test_mathfont_stixsans_14.test
All other tests pass.

@jenshnielsen
Copy link
Member

Looks good to me. It looks like pyplot was only imported for the if main examples to run (Which where disabled anyway)

@tacaswell
Copy link
Member

@efiring Do we want to prserve those examples someplace else?

tacaswell added a commit that referenced this pull request May 3, 2015
MNT : Remove unnecessary pyplot import from axes_grid1
@tacaswell tacaswell merged commit 57050f1 into matplotlib:master May 3, 2015
tacaswell added a commit that referenced this pull request May 3, 2015
MNT : Remove unnecessary pyplot import from axes_grid1
@tacaswell
Copy link
Member

tacaswell commented May 3, 2015

back ported as 4c18969

@efiring
Copy link
Member Author

efiring commented May 3, 2015

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?

@efiring efiring deleted the axes_grid1_pyplot branch June 23, 2016 18:16
@QuLogic QuLogic added this to the v1.5.0 milestone Oct 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants