Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
tacaswell merged 1 commit intomatplotlib:masterfromefiring:axes_grid1_pyplot
May 3, 2015

Conversation

efiring
Copy link
Member

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

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 requestMay 3, 2015
MNT : Remove unnecessary pyplot import from axes_grid1
@tacaswelltacaswell merged commit57050f1 intomatplotlib:masterMay 3, 2015
tacaswell added a commit that referenced this pull requestMay 3, 2015
MNT : Remove unnecessary pyplot import from axes_grid1
@tacaswell
Copy link
Member

tacaswell commentedMay 3, 2015
edited by QuLogic
Loading

back ported as4c18969

@efiring
Copy link
MemberAuthor

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?

@efiringefiring deleted the axes_grid1_pyplot branchJune 23, 2016 18:16
@QuLogicQuLogic added this to thev1.5.0 milestoneOct 16, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v1.5.0
Development

Successfully merging this pull request may close these issues.

4 participants
@efiring@jenshnielsen@tacaswell@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp