scipy / scipy-cookbook

Scipy Cookbook
https://scipy-cookbook.readthedocs.io/
Other
470 stars 181 forks source link

Fixed cmap transformations #16

Closed riwoodward closed 7 years ago

riwoodward commented 7 years ago

Colormap transformation functions gave an itertools-related error in Py2 and an error in Py3 related to the redefinition of the map() function.

I've fixed these and also added a darker colormap example, with accompanying images.

This is my first PR, so please let me know if anything needs changing.

pv commented 7 years ago

Note that there's no need to use the attachments though, which exists only because the notebooks were converted from moin wiki. You can include images as usual in the notebooks.