matplotlib / cmocean

Colormap setup for standardizing commonly-plotting oceanographic variables.
MIT License
230 stars 52 forks source link

Mapping between old and new cmap names? #59

Closed alpha-beta-soup closed 8 years ago

alpha-beta-soup commented 8 years ago

I just noticed that the names of the colormaps have changed. Is there a simple list of old and new colormap names? I'm looking through the commit that affected the documentation, but I just figured that a list would be easier for those in my situation. Alternatively, it would be great if old names still worked, but maybe just emitted a deprecation notice until one more version change; I suddenly found myself with quite a few broken map configurations today.

kthyng commented 8 years ago

Yeah, sorry about the name changes. This was a one-time change but I know it is annoying. Here is a list. Also multiple names were previously accepted, but I plan to stick with just a single, lowercase name from now on to be more simple.

Temperature -> thermal Salinity -> haline PAR -> solar ice (new colormap) Gray -> gray Oxygen -> oxy Bathymetry -> deep Density -> dense Chlorophyll -> algae CDOM -> matter Turbidity -> turbid Speed -> speed WaveAmplitude -> amp WavePeriod -> tempo Phase -> phase FreeSurface -> balance Velocity -> delta Vorticity -> curl

alpha-beta-soup commented 8 years ago

Thanks for the list!