Closed
Description
Bug report
Bug summary
After
from pylab import *
fig = plt.figure(figsize=(8, 5), constrained_layout=True)
fig.suptitle("foo")
axs = fig.subplots(1, 2, sharex=True, sharey=True)
im = axs[0].imshow([[1, 2], [3, 4]])
fig.colorbar(im, ax=axs[0], orientation="horizontal")
im = axs[1].imshow([[1, 2], [3, 4]])
fig.colorbar(im, ax=axs[1], orientation="horizontal")
plt.show()
and toggling manually to fullscreen, one gets
i.e. the suptitle is placed too low.
Note that this doesn't happen if the call to suptitle() comes last instead of first.
Matplotlib version
- Operating system: linux
- Matplotlib version: master
- Matplotlib backend (
print(matplotlib.get_backend())
): gui+agg/mplcairo - Python version: 38
- Jupyter version (if applicable):
- Other libraries: