Partially empty 2d histogram Plots.jl

Attempting plotting a small circle in 2d histogram (with custom bins and limits), gives a natural result in pyplot:
image

However, Plots for some reason gives blank pixels (same image):
image

It depends what you think is a “natural result”. Do you show empty bins or not?
You can join the discussion here: Histogram2d's default colors with transparent background considered harmful · Issue #2053 · JuliaPlots/Plots.jl · GitHub

1 Like

I see,

Plots.histogram2d(beam[:,1], beam[:,2], show_empty=true)

fixes it

Or,
using any of these aliases is also valid

:show_empty_bins, :showemptybins, :showempty, :show_empty, :show_zeros, :showzeros

Hope this would help some users.