Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility with matplotlib-3.8. (#1638)
The update methods for colorbars have been removed in favour of more global updates. Applying the change to the `clim`s simply on the `csub` was suggested by paulhausner in #1635 and seems to work fine. Actually updating the drawing of the colorbar (specifically, the ticks on it) did not work with the fix suggested in the Matplotlib documentation, but `canvas.draw_idle()` does seem to have the intended effect. Fixes #1636.
- Loading branch information