Skip to content

fetch rcParams for Figures in fig.clf(), issue #7434 #9622

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

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed: travisCI failed on pep8 line length
  • Loading branch information
NNiehof committed Nov 20, 2017
commit 16730489c3a24d2a0a319b51d5f7bfffcd14e387
6 changes: 4 additions & 2 deletions lib/matplotlib/tests/test_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ def test_reset_rcparams():
assert not fig1.get_figwidth() == rcParams['figure.figsize'][0]
assert not fig1.get_figheight() == rcParams['figure.figsize'][1]
assert not fig1.get_dpi() == rcParams['figure.dpi']
assert not fig1.get_facecolor() == colors.to_rgba(rcParams['figure.facecolor'])
assert not fig1.get_edgecolor() == colors.to_rgba(rcParams['figure.edgecolor'])
assert not fig1.get_facecolor() == colors.to_rgba(
rcParams['figure.facecolor'])
assert not fig1.get_edgecolor() == colors.to_rgba(
rcParams['figure.edgecolor'])


@image_comparison(baseline_images=['figure_today'])
Expand Down