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
Description
Bug summary
axes_grid parasite_axes ticks and ticklabels are not taken into account by tight/constrained layout.
Code for reproduction
frommatplotlibimportpyplotaspltfrommpl_toolkits.axes_grid1importhost_subplotplt.figure()# or tight_layout=True or constrained_layout=Trueh=host_subplot(111)p=h.twinx()p.plot([1e-10,2e-10,3e-10])plt.show()
Actual outcome
without tight/constrained layout
Expected outcome
The parasite ticks/labels/offsettext are included in the tight/constrained layouting.
Operating system
linux
Matplotlib Version
3.5.0.dev2254+g97ba9d41ef
Matplotlib Backend
qt5agg
Python version
39
Jupyter version
no
Other libraries
No response
Installation
No response
Conda channel
No response