How to change colormap in histogram2d (Plots.jl)

How do I change the colormap of histogram2d?

Thanks!

With Plots.jl, use the seriescolor attribute (see https://docs.juliaplots.org/latest/generated/attributes_series/) as a keyword argument. Note color or even just c work as aliases, e.g.,

julia> histogram2d(x, y, c=:blues)
2 Likes