Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Backport PR #24070: DOC: colorbar may steal from array of axes
  • Loading branch information
oscargus authored and meeseeksmachine committed Oct 2, 2022
commit 31ef9bceb7b69de0239a9b3534a05e8395f0e697
2 changes: 1 addition & 1 deletion lib/matplotlib/colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down