Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 140257e commit 0173a2bCopy full SHA for 0173a2b
1 file changed
lib/matplotlib/tests/test_ft2font.py
@@ -59,7 +59,7 @@ def test_fallback_smoke():
59
[("WenQuanYi Zen Hei", "wqy-zenhei.ttc"),
60
("Noto Sans CJK JP", "NotoSansCJK-Regular.ttc")]
61
)
62
-@check_figures_equal(extensions=["png"])
+@check_figures_equal(extensions=["png", "pdf", "eps", "svg"])
63
def test_font_fallback_chinese(fig_test, fig_ref, family_name, file_name):
64
fp = fm.FontProperties(family=[family_name])
65
if Path(fm.findfont(fp)).name != file_name:
0 commit comments