diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 34a6e5b877f4..f79c28dd2fe3 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -4597,7 +4597,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.