Closed QuLogic closed 1 year ago
It seems like reasonable changes to implement.
When trying to update the register_cmap
, I had some problems with the warning emitted from this line:
Shouldn't the alternative be: alternative="``matplotlib.colormaps.register(name)``"
?
Yes, that seems to be a typo.
ALL software version info
colorcet 39af94a; Python 3.11; Matplotlib 3.6.0rc1
Description of expected behavior and the observed behavior
As noted in the
get_cmap
docstring, it will return a copy in 3.6. This has taken effect in 3.6.0rc1, and is causing tests that assume that to break. See test downstream build in Fedora.Stack traceback and/or browser JavaScript console output
etc. for each parametrization of
test_get_cm
.PS, there are also pending deprecation warnings for
register_cmap
andget_cmap
, but these are non-fatal as they are pending.