8000 Filter warnings in rcparams test (and others) by jenshnielsen · Pull Request #3244 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Filter warnings in rcparams test (and others) #3244

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

Merged
merged 11 commits into from
Aug 26, 2014
Merged
Prev Previous commit
Next Next commit
Add note to test_tightlayout
  • Loading branch information
jenshnielsen committed Jul 26, 2014
commit 8727205ced5b0037b8e7e45d1addba19f6e5efc6
3 changes: 3 additions & 0 deletions lib/matplotlib/tests/test_tightlayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def test_tight_layout5():
def test_tight_layout6():
'Test tight_layout for gridspec'

# This raises warnings since tight layout cannot
# do this fully automatically. But the test is
# correct since the layout is manually edited
with warnings.catch_warnings():
warnings.simplefilter("ignore", UserWarning)
fig = plt.figure()
Expand Down
0