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

Skip to content

Commit 41e5e13

Browse files
committed
Fix the PDF core fonts test
1 parent e38bb70 commit 41e5e13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/tests/test_backend_pdf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ def test_use14corefonts():
1212
rcParams['font.family'] = 'sans-serif'
1313
rcParams['font.size'] = 8
1414
rcParams['font.sans-serif'] = ['Helvetica']
15+
rcParams['pdf.compression'] = 0
1516

1617
title = u'Test PDF backend with option use14corefonts=True'
1718

1819
text = u'''A three-line text positioned just above a blue line
19-
and containing some French characters and the euro symbol:
20-
"Merci pépé pour les 10 €"'''
20+
and containing some French characters and the euro symbol:
21+
"Merci pépé pour les 10 €"'''
2122

2223
plt.figure()
2324
plt.title(title)

0 commit comments

Comments
 (0)