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 Series Attributes · Plots) as a keyword argument. Note color or even just c work as aliases, e.g.,

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