X Tutup
Skip to content

Viridis exists but not in plt.cm.datad.keys() #6316

@pllim

Description

@pllim

Matplotlib version is 1.5.1 from Anaconda.

>>> import matplotlib.pyplot as plt
>>> plt.get_cmap('viridis')
<matplotlib.colors.ListedColormap at ...>
>>> names = plt.cm.datad.keys()
>>> 'viridis' in names
False

I don't understand why Viridis colormap is in the software but it is not part of colormap names in plt.cm.datad keys. Is this intentional or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup