Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug report
Bug summary
Choosing the font "Free Serif".
Right parenthesis character ")" is not printed upon using fig.savefig().
It is correctly printed upon using plt.show().
Code for reproduction
importmatplotlib.pyplotaspltfig,ax=plt.subplots()ax.text(s='(Some text)',x=0.5,y=0.5,fontname='freeserif')fig.savefig('fig.pdf')
Actual outcome
Right parenthesis is not printed on pdf.
Expected outcome
All characters should be printed on pdf.
Matplotlib version
- Operating system: Fedora 31 Workstation
- Matplotlib version: 3.2.1
- Python version: 3.7.6