How change Plots default color palette

Hello,

I know that Plots assigns line colors from a default color palette, but I cannot figure out how to change this palette… Could someone please tell me how thats done?
Specifically, I would like to replace it by Dark2 from ColorBrewer if this is relevant.

Thanks guys…

The only way I know is with PlotThemes:

julia> Pkg.add("PlotThemes")
julia> theme(:dark; palette = palette(:tab10))
julia> theme(:dark; palette = theme_palette(:orange))

You can set default(palette = palette(:dark2))

4 Likes