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

Correct regex in filterwarnings #5735

Merged
merged 2 commits into from Dec 23, 2015

Conversation

jenshnielsen
Copy link
Member

The method name has changed, also enable an assert which should have been enabled earlier

The method name has changed, also enable an assert which should have been enabled earlier
@jenshnielsen
Copy link
Member Author

Actually I would probably prefer changing the error message. The message is inside subplots() not add_subplots so not sure whats going on

@jenshnielsen
Copy link
Member Author

Implemented the other solution in the second commit

@tacaswell tacaswell added this to the Critical bugfix release (1.5.1) milestone Dec 23, 2015
tacaswell added a commit that referenced this pull request Dec 23, 2015
FIX: Correct regex in filterwarnings
@tacaswell tacaswell merged commit 6df722f into matplotlib:master Dec 23, 2015
@tacaswell tacaswell modified the milestones: proposed next point release (2.1), Critical bugfix release (1.5.1) Dec 23, 2015
@tacaswell
Copy link
Member

This does not cherry-pick cleanly back to 1.5.x because where subplots is implemented moved to figure from pyplot in #5146 (which is where the name miss-match comes from, in the initial version of the PR the function was called add_subplots not subplots).

The assert should be uncommented on 1.5.x in a it's own PR.

@jenshnielsen jenshnielsen deleted the fixfilterwarnings branch December 23, 2015 22:49
@jenshnielsen
Copy link
Member Author

Ok I will do a PR to fix the assert on 1.5.x

@tacaswell
Copy link
Member

thanks.

jenshnielsen added a commit to jenshnielsen/matplotlib that referenced this pull request Dec 23, 2015
Backport of relevant part of matplotlib#5735
@jenshnielsen
Copy link
Member Author

Done as #5736

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.

None yet

2 participants