plotnine.geom_bin_2d

geom_bin_2d(mapping=None, data=None, **kwargs)

Heatmap of 2d bin counts

{usage}

Divides the plane into rectangles, counts the number of cases in each rectangle, and then (by default) maps the number of cases to the rectangle’s fill. This is a useful alternative to geom_point in the presence of overplotting.

See Also

stat_bin_2d

The default stat for this geom.