Skip to content

Improved colormaps image

Compare
Choose a tag to compare
@callumrollo callumrollo released this 12 Nov 18:45
· 15 commits to master since this release

Improvement of colormaps images and more by @zmoon

  • Use ListedColormap instead. Simpler and gives the same result for the non-categorical ones since they have N=256.
  • Clean up the .cm namespace so that it is easier to use
  • Fancier show_cmaps plotter, and show the result in the readme under its code demo.
  • show_cmaps added to the top-level namespace
  • all added to the top-level init.py
  • In readme, import cmcrameri.cm as cmc for consistency with the 'cmc.' form for the registered cmaps added in
  • scrallen: added plt.cm.register_cmap commands...
  • Add example of using a registered cmap name to the readme
  • Running cm.py directly generates the colormaps.png
  • Update the links to Crameri's website