hexbin

set_shape.hexbin(size=100, aggregator='mean')

Draw a 2D hexagonal binning plot of the data.

All arguments are forwarded to matplotlib.pyplot.hexbin().

Parameters:
  • size (int, or (int, int), optional) –

    If int, the number of hexagons in x-direction. If a tuple of int is provided, the number of hexagons in x- and y-direction

    See matplotlib.pyplot.hexbin for more information about marker styles.

  • aggregator (str or callable) – The function used to aggregate the data-values. If a string is provided, it is identified as the associated numpy function. The default is β€œmean”.