When adding multiple colorbars with plt.colorbar to different subplots and then removing them again, the removal affects the width of the other subplot. This bug occurs with matplotlib>=3.4.0, ...
horizontal colorbars on the *x* axis. The ``ticks`` parameter can be used to set the ticks and the ``format`` parameter can be used to format the tick labels of the visible colorbar Axes. For further ...