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
Milestone
Description
Wenn I doplt.tight_layout(pad=0)
outer ticks are not considered and cut away:
importmatplotlib.pyplotaspltfig,ax=plt.subplots()ax.get_yaxis().set_tick_params(direction='out')ax.get_xaxis().set_tick_params(direction='out')ax.set_xlim(0.05,0.95)fig.tight_layout(pad=0)fig.savefig('outer_ticks.png',dpi=300)
Result: