Skip to content
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

colormaps issue #6147

Closed
MBalazs90 opened this issue Mar 12, 2016 · 3 comments
Closed

colormaps issue #6147

MBalazs90 opened this issue Mar 12, 2016 · 3 comments
Labels
status: needs clarification Issues that need more information to resolve.

Comments

@MBalazs90
Copy link

C:\Users\M\Anaconda\lib\site-packages\matplotlib\cm.pyc in get_cmap(name, lut)
    161         raise ValueError(
    162             "Colormap %s is not recognized. Possible values are: %s"
--> 163             % (name, ', '.join(cmap_d.keys())))

'viridis' in plt.cm.datad
return FALSE

s1 = set(plt.colormaps())
s2 = set(plt.cm.datad.keys())
sorted(s1 - s2)

the result is:
[]

I got the same problem with 'inferno' too

@tacaswell
Copy link
Member

What version of mpl are you using? The new color maps first shipped with 1.5.

@tacaswell tacaswell added this to the unassigned milestone Mar 12, 2016
@tacaswell tacaswell added the status: needs clarification Issues that need more information to resolve. label Mar 12, 2016
@MBalazs90
Copy link
Author

ok, I updated it, it fixed the issue.

@tacaswell
Copy link
Member

Closing as the issue was using a too-old version of mpl for the desired feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs clarification Issues that need more information to resolve.
Projects
None yet
Development

No branches or pull requests

2 participants