Apologies if I missed this, but I'm wondering if there is a public API to access, for example, the full set of colors in the matplotlib viridis or magma data (i.e. the values in palettable.matplotlib.matplotlib._NAMES_TO_DATA
It appears that one would have to use palettable.matplotlib.Viridis_20.mpl_colormap to get a mpl colormap using the truncated 20-color data, then re-interpolate... is that correct?
Hi and thanks for the library,
Apologies if I missed this, but I'm wondering if there is a public API to access, for example, the full set of colors in the matplotlib viridis or magma data (i.e. the values in
palettable.matplotlib.matplotlib._NAMES_TO_DATA
It appears that one would have to use
palettable.matplotlib.Viridis_20.mpl_colormap
to get a mpl colormap using the truncated 20-color data, then re-interpolate... is that correct?