Open aramirezreyes opened 1 year ago
Any chance it could get a less opaque name too, such as colorgradient
, colorscale
, or similar?
cgrad
is actually from PlotUtils, so chances of renaming it are slim, plus people coming from Plots are familiar with it already. We could wrap it in another name but that seems confusing to me at least.
I thought it was mentioned there but I guess not. I'll try to add some docs about it, as well as to_colormap
and categorical_colors
.
I'm making some changes to the color docs in the scalar color PR, maybe wait for that to merge (soon) so we don't conflict
Related to this discourse topic: https://discourse.julialang.org/t/how-to-specify-colors-from-a-colormap-to-use-in-a-theme-in-makie/
It seems like the way of building a vector of colors from the name of a color scheme is difficult to find in the docs.
I am out of bandwidth currently so I open it in case someone can make a PR.