diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 40cd2aefa911..eef0fb1c4997 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -4602,7 +4602,7 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None, `~matplotlib.collections.PolyCollection` A `.PolyCollection` defining the hexagonal bins. - - `.PolyCollection.get_offset` contains a Mx2 array containing + - `.PolyCollection.get_offsets` contains a Mx2 array containing the x, y positions of the M hexagon centers. - `.PolyCollection.get_array` contains the values of the M hexagons.