Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Milestone
Description
Bug report
Bug summary
Font found viaFontManager.find_font()
but not when using it inFigure.text()
Code for reproduction
For easier testing. Same as the screenshot above.
importmatplotlib.pyplotaspltfrommatplotlib.font_managerimportFontManager,FontPropertiesmgr=FontManager()mgr.findfont(FontProperties(family='Calibri'))fig=plt.figure()fig.text(0.5,0.5,'matplotlib',fontfamily='Calibri')