Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c94011

Browse files
committed
Don't switch backends in a test
1 parent 623a128 commit 3c94011

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/matplotlib/tests/test_backend_pdf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
@image_comparison(baseline_images=['pdf_use14corefonts'], extensions=['pdf'])
88
def test_use14corefonts():
9-
rcParams['backend'] = 'pdf'
109
rcParams['pdf.use14corefonts'] = True
1110
rcParams['font.family'] = 'sans-serif'
1211
rcParams['font.size'] = 8
@@ -27,7 +26,6 @@ def test_use14corefonts():
2726
def test_type42():
2827
import io
2928

30-
rcParams['backend'] = 'pdf'
3129
rcParams['pdf.fonttype'] = 42
3230

3331
fig = plt.figure()

0 commit comments

Comments
 (0)