I get an error on calling the colorbar() function that was working perfectly with older version of matplotlib, numpy I suspect, this TypeError is rasied when calling ...
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, ...