Vincent Magnin

Results 171 comments of Vincent Magnin

Hi Ali @gha3mi be careful with the colormaps licenses. I think Matlab colormaps are copyrighted (I think I read things about it in StackOverflow while developing my project, I will...

These 4 Matplotlib colormaps are for example clearly in public domain / CC0 license: https://github.com/BIDS/colormap/blob/master/colormaps.py I think we must be sure for all included colormap.

But these Matlab palettes are copyrighted: https://fr.mathworks.com/matlabcentral/fileexchange/28943-color-palette-tables-cpt-for-matlab I have no access to the files, but they say "please see the header of each file for copyright information".

Note also that the file `scientific_colour_maps.f90` was generated automatically by the program `scripts/generate_scmap.f90` from the text files available in the https://www.fabiocrameri.ch/colourmaps/ collection. It could be regenerated if the collection is...

> I can work on this on Sunday. Should I create a matplotlib_colormaps for that? Thanks for contributing! Yes, `matplotlib_colormaps` sounds good. It will mean something for users. I have...

> How about these colormaps? > https://github.com/holoviz/colorcet/blob/main/assets/colorcet.m > https://github.com/planetarymike/IDL-Colorbars > https://github.com/hhuangwx/cmaps > https://github.com/1313e/CMasher The second and third ones are under GPL license, not compatible with our MIT license. The first...

Thanks, that looks good! >Alternatively, another solution could be defining a constant module to handle shared constants like pi, wp, colormap_name_length, etc. Probably that will be the way to go...

I have found the bug in the viridis colormap: ```fortran 96, 202, 96,& 99, 203, 95,& 01, 203, 94,& 03, 204, 92,& 05, 205, 91,& ... 94, 223, 35,& 97,...

@gha3mi I have fixed it thanks to the regex `^[ ]{12}(\d\d,)` in my text editor. It is committed.

- [x] Black Body colormap (CC0 license / public domain) by Kenneth Moreland: ["Color Map Advice for Scientific Visualization"](https://www.kennethmoreland.com/color-advice/).