[Doc]: Deprecation note in `get_cmap` is non-actionable · Issue #22362 · matplotlib/matplotlib · GitHub
Skip to content

[Doc]: Deprecation note in get_cmap is non-actionable #22362

Description

@mwaskom

Documentation Link

Docstring of mpl.cm.get_cmap

Problem

There is a note that says:

Notes
-----
Currently, this returns the global colormap object, which is deprecated.
In Matplotlib 3.5, you will no longer be able to modify the global
colormaps in-place.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions