matplotlib/matplotlib — pull request #2485 by NelleV (2013-10-02 08:22:03+00:00)
Title: ENH better error message when wrong cmap name.

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.