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

Appearance settings

Commit f5e87d4

Browse filesBrowse files
efiringmdboom
authored andcommitted
Fix pgf backend test images
1 parent 7170811 commit f5e87d4
Copy full SHA for f5e87d4

File tree

Expand file treeCollapse file tree

7 files changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+3
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

‎lib/matplotlib/tests/test_backend_pgf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_pgf.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ def test_rcupdate():
134134
'\\usepackage[T1]{fontenc}',
135135
'\\usepackage{sfmath}']})
136136
tol = (6, 0)
137+
original_params = mpl.rcParams.copy()
137138
for i, rc_set in enumerate(rc_sets):
139+
mpl.rcParams.clear()
140+
mpl.rcParams.update(original_params)
138141
mpl.rcParams.update(rc_set)
139142
create_figure()
140143
compare_figure('pgf_rcupdate%d.pdf' % (i + 1), tol=tol[i])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.