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 41e5e13

Browse filesBrowse files
committed
Fix the PDF core fonts test
1 parent e38bb70 commit 41e5e13
Copy full SHA for 41e5e13

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎lib/matplotlib/tests/test_backend_pdf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_pdf.py
+3-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.