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 b48856b commit bb25d83Copy full SHA for bb25d83
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