-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Doc]: Deprecation note in get_cmap
is non-actionable
#22362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@mwaskom I am working on this. |
@mwaskom I could not find the documentation where this warning is mentioned .Please help. |
This note is going to be removed for 3.6, so the documentation update would be on the 3.5.x branch. See this PR for the locations of the various pieces of code surrounding this note: #22298 References to a few other issues/PRs that this has stemmed from: #20853, #20853, #19766, #16991 The previous versions of Matplotlib would return the same object every time, which caused issues with changing a mutable state for future access of colormaps. In 3.6+
|
@soma2000-lang Thanks for the willingness to help, but this is pretty subtle, and I think we need someone who understands those subtleties to fix the message. |
Ok. |
Documentation Link
Docstring of
mpl.cm.get_cmap
Problem
There is a note that says:
This is not clear about what is deprecated or how users should update. Will it start returning a copy? Will it start returning an immutable object? Should users be using a different function?
Suggested improvement
No response
Matplotlib Version
3.5.1
The text was updated successfully, but these errors were encountered: