-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
In fixing some bugs with color bars (#3601), we had to do some clunky workarounds because of limitations of matplotlib's API for modifying colormaps - this prompted a matplotlib issue matplotlib/matplotlib#16296 (comment). That issue has now been closed, and apparently the limitations are now fixed, so it should be possible to tidy up some of the colorbar code (at least at some point, once the oldest xarray-supported matplotlib includes the new API).
I have no time to look into this myself, but opening this issue to flag the new matplotlib features in case someone is looking at refactoring colorbar or colormap code.
TomNicholas