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.
2 parents 3c9eba3 + bb25d83 commit 58fc4f4Copy full SHA for 58fc4f4
lib/matplotlib/tests/test_text.py
@@ -22,8 +22,8 @@ def find_matplotlib_font(**kw):
22
return FontProperties(fname=path)
23
24
from matplotlib.font_manager import FontProperties, findfont
25
- warnings.filterwarnings('ignore', 'findfont: Font family \[\'Foo\'\] '+ \
26
- 'not found. Falling back to .',
+ warnings.filterwarnings('ignore', ('findfont: Font family \[u?\'Foo\'\] '+
+ 'not found. Falling back to .'),
27
UserWarning,
28
module='matplotlib.font_manager')
29
fig = plt.figure()
0 commit comments