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 as not planned
Milestone
Description
Bug summary
When saving a wide eps withtext.usetex=True
, the spine is clipped, but no other artists.
Code for reproduction
importmatplotlib.pyplotaspltplt.rcParams['text.usetex']=Trueplt.figure(figsize=(20,4))plt.plot([0,1], [0,1],'b')plt.savefig('clippedspine.eps')
Actual outcome
Expected outcome
Additional information
Expected output not usingusetex
.
Saving as ps stores using letter paper, so the whole paper is clipped.
The line is just there to illustrate that lines are not clipped as such (nor are texts).
It seems like the spine covers the same absolute width when changing figure width.
Operating system
CentOS
Matplotlib Version
3.6.0.dev3474+g8179d12.d20220830
Matplotlib Backend
No response
Python version
3.8.13
Jupyter version
No response
Installation
git checkout