Closed ValentinKaisermayer closed 4 years ago
Thanks! I think
for sym in (:Set1, :Set2, ...)
_themes[sym] = PlotTheme(
palette = expand_palette(colorant"white", cgrad(sym).colors; lchoices = [57], cchoices = [100]),
)
end
should also work as a shorter implementation.
It uses cgrad
from PlotUtils
... but requires a new release from PlotUtils.
I don't think this is the right place to add the palettes - we should fix this in PlotUtils
Right, then one could just do theme(palette = :grad)
or default(palette = :grad)
for any :grad defined in PlotUtils.
I think this is also resolved by the ColorSchemes integration
At least for line plots this seems better than https://github.com/JuliaPlots/PlotUtils.jl/pull/67