Skip to content

Commit e5bd364

Browse files
committed
Fix pdf_use14corefonts test
1 parent 33b4cce commit e5bd364

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Binary file not shown.

lib/matplotlib/tests/test_backend_pdf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def test_use14corefonts():
1919

2020
plt.figure()
2121
plt.title(title)
22-
plt.text(0.5, 0.5, text, horizontalalignment='center', fontsize=24)
22+
plt.text(0.5, 0.5, text, horizontalalignment='center', verticalalignment='bottom',
23+
fontsize=24)
2324
plt.axhline(0.5, linewidth=0.5)
2425

2526

0 commit comments

Comments
 (0)