You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API: remove implicit colormap generation in register_cmap
This was deprecated in 3.3 via #15875
Enforce type of cmap as Colormap because we may not know that the
object registered is of the wrong type until well after it was
registered, defensively check here.
We could do a duck-type check, but this is much simpler and we can
cross the bridge of writing a duck-type checking function when someone
has a use case for registering
compatible-but-not-derived-from-Colormap instances.
0 commit comments