-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
/home/kyle/venvs/source/WrightTools/WrightTools/artists/_base.py:532: MatplotlibDeprecationWarning:
The process_projection_requirements function was deprecated in Matplotlib 3.1 and will be removed in 3.3.
self, *args, **kwargs
/venvs/source/WrightTools/WrightTools/artists/_helpers.py:687: MatplotlibDeprecationWarning:
The set_clim function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use ScalarMappable.set_clim instead.
cbar.set_clim(clim)
Two deprecation warnings appear on current matplotlib master.
Pretty easy to fix, though currently there is a regression that I may track down and PR before mpl is released causing a breakage (not just a warning) for the clim, as we pass set_clim(clim[0], clim[1])
This is fixed by calling Fix submitted upstream see matplotlib/matplotlib#13789 the function signature was incorrect.set_clim(clim)
(though the warning still appears for now, have not tried using the suggested alternative yet)