Correct regex in filterwarnings #5735

Merged
merged 2 commits into from Dec 23, 2015

Conversation

Projects
None yet
2 participants
Owner

jenshnielsen commented Dec 23, 2015

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

@jenshnielsen jenshnielsen Correct regex in filterwarnings
The method name has changed, also enable an assert which should have been enabled earlier
d9c9c55
Owner

jenshnielsen commented Dec 23, 2015

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

@jenshnielsen jenshnielsen Change error message to reflect the name of the method
6979fe5
Owner

jenshnielsen commented Dec 23, 2015

Implemented the other solution in the second commit

@tacaswell tacaswell added a commit that referenced this pull request Dec 23, 2015

@tacaswell tacaswell Merge pull request #5735 from jenshnielsen/fixfilterwarnings
FIX: Correct regex in filterwarnings
6df722f

@tacaswell tacaswell merged commit 6df722f into matplotlib:master Dec 23, 2015

1 of 3 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
coverage/coveralls Coverage remained the same at 68.329%
Details

tacaswell removed the needs_review label Dec 23, 2015

Owner

tacaswell commented Dec 23, 2015

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 deleted the jenshnielsen:fixfilterwarnings branch Dec 23, 2015

Owner

jenshnielsen commented Dec 23, 2015

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

Owner

tacaswell commented Dec 23, 2015

thanks.

@jenshnielsen jenshnielsen added a commit to jenshnielsen/matplotlib that referenced this pull request Dec 23, 2015

@jenshnielsen jenshnielsen enable assert on 1.5 branch
Backport of relevant part of #5735
878598c
Owner

jenshnielsen commented Dec 23, 2015

Done as #5736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment