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

Skip to content

Commit 46013de

Browse files
committed
backend_pgf: Check text color in tests
1 parent f05753d commit 46013de

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

lib/matplotlib/tests/test_backend_pgf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def create_figure():
8080
plt.plot([0.9], [0.5], "ro", markersize=3)
8181
plt.text(0.9, 0.5, 'unicode (ü, °, µ) and math ($\\mu_i = x_i^2$)',
8282
ha='right', fontsize=20)
83-
plt.ylabel('sans-serif with math $\\frac{\\sqrt{x}}{y^2}$..',
84-
family='sans-serif')
83+
plt.ylabel('sans-serif, blue, $\\frac{\\sqrt{x}}{y^2}$..',
84+
family='sans-serif', color='blue')
8585

8686

8787
# test compiling a figure to pdf with xelatex

0 commit comments

Comments
 (0)