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

ENH better error message when wrong cmap name. #2485

Merged
merged 1 commit into from Oct 10, 2013
Merged

ENH better error message when wrong cmap name. #2485

merged 1 commit into from Oct 10, 2013

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Oct 2, 2013

Small PR for a better error message when we provide a wrong cmap name.

Now, prints all possible values for cmap: it's pretty useful not to have to go online to check the documentation just for a typo in a colormap.

Now prints all possible choices
@mdboom
Copy link
Member

mdboom commented Oct 2, 2013

👍

pelson added a commit that referenced this pull request Oct 10, 2013
ENH better error message when wrong cmap name.
@pelson pelson merged commit 65ce30e into matplotlib:master Oct 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants