palette(thm::Symbol)
returns an array of the default palette colors of a PlotTheme. So palette(:default)
returns an array of the default palette colors.
Within a plot command or recipe you can use an integer i
to access the i
th element of the default colors, e.g. plot(rand(10), color = 4)
.
2 Likes