Bug summary
I create a figure with a constrained layout and add a 3D-subplot at the top and a 2D-subplot at the bottom, but the tick labels of the 3D-subplot overlap with the title of the 2D-subplot.
Code for reproduction
import matplotlib.pyplot as plt
fig = plt.figure(constrained_layout=True)
ax1 = fig.add_subplot(2, 1, 1, projection='3d')
ax1.set_title('3D Plot')
ax2 = fig.add_subplot(2, 1, 2)
ax2.set_title('2D Plot')
plt.show()
Actual outcome
Expected outcome
Additional information
No response
Operating system
No response
Matplotlib Version
3.10.8
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
Bug summary
I create a figure with a constrained layout and add a 3D-subplot at the top and a 2D-subplot at the bottom, but the tick labels of the 3D-subplot overlap with the title of the 2D-subplot.
Code for reproduction
Actual outcome
Expected outcome
Additional information
No response
Operating system
No response
Matplotlib Version
3.10.8
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None