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

Skip to content

Commit 37bf528

Browse files
Update lib/matplotlib/tests/test_text.py
Co-Authored-By: Tim Hoffmann <[email protected]>
1 parent 0191887 commit 37bf528

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_text.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,8 @@ def test_buffer_size(fig_test, fig_ref):
655655
ax.set_yticklabels(["€", ""])
656656

657657

658-
def test_fontproperties_presedence():
658+
def test_fontproperties_kwarg_precedence():
659+
"""Test that kwargs take precedence over fontproperties defaults.“““
659660
plt.figure()
660661
text1 = plt.xlabel("value", fontproperties='Times New Roman', size=40.0)
661662
text2 = plt.ylabel("counts", size=40.0, fontproperties='Times New Roman')

0 commit comments

Comments
 (0)