diff --git a/lib/matplotlib/colorbar.py b/lib/matplotlib/colorbar.py index 8cf8c0e6c1eb..c8f49c0ad92d 100644 --- a/lib/matplotlib/colorbar.py +++ b/lib/matplotlib/colorbar.py @@ -1364,7 +1364,7 @@ def make_axes(parents, location=None, orientation=None, fraction=0.15, Parameters ---------- - parents : `~.axes.Axes` or list of `~.axes.Axes` + parents : `~.axes.Axes` or list or `numpy.ndarray` of `~.axes.Axes` The Axes to use as parents for placing the colorbar. %(_make_axes_kw_doc)s diff --git a/lib/matplotlib/figure.py b/lib/matplotlib/figure.py index 447f508194a1..4aebc1696543 100644 --- a/lib/matplotlib/figure.py +++ b/lib/matplotlib/figure.py @@ -1197,7 +1197,7 @@ def colorbar( cax : `~matplotlib.axes.Axes`, optional Axes into which the colorbar will be drawn. - ax : `~matplotlib.axes.Axes`, list of Axes, optional + ax : `~.axes.Axes` or list or `numpy.ndarray` of Axes, optional One or more parent axes from which space for a new colorbar axes will be stolen, if *cax* is None. This has no effect if *cax* is set.