From cc9c9ab1fb6d08367bc5ec58fb4e400856cbcf6f Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sat, 25 Jul 2020 18:00:02 +0200 Subject: [PATCH] Backport PR #18055: Fix link to get_offsets in hexbin doc --- lib/matplotlib/axes/_axes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.