From b1a9f0fc27dae0db3755ef01c18fa69225c670cc Mon Sep 17 00:00:00 2001 From: Marco Gorelli <33491632+MarcoGorelli@users.noreply.github.com> Date: Thu, 6 Nov 2025 17:00:02 +0000 Subject: [PATCH] DOC: Correct return type for `DataFrame.hist` --- pandas/plotting/_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index a8705baaa0e85..014395c197200 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -231,8 +231,8 @@ def hist_frame( Returns ------- - matplotlib.Axes or numpy.ndarray of them - Returns a AxesSubplot object a numpy array of AxesSubplot objects. + np.ndarray + 2D NumPy Array of :class:`matplotlib.axes.Axes`. See Also --------