8000 DOC: colorbar may steal from array of axes · matplotlib/matplotlib@35513c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 35513c6

Browse files
committed
DOC: colorbar may steal from array of axes
1 parent fd5cf5c commit 35513c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ def make_axes(parents, location=None, orientation=None, fraction=0.15,
13641364
13651365
Parameters
13661366
----------
1367-
parents : `~.axes.Axes` or list of `~.axes.Axes`
1367+
parents : `~.axes.Axes` or list or `numpy.ndarray` of `~.axes.Axes`
13681368
The Axes to use as parents for placing the colorbar.
13691369
%(_make_axes_kw_doc)s
13701370

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ def colorbar(
11971197
cax : `~matplotlib.axes.Axes`, optional
11981198
Axes into which the colorbar will be drawn.
11991199
1200-
ax : `~matplotlib.axes.Axes`, list of Axes, optional
1200+
ax : `~.axes.Axes` or list or `numpy.ndarray` of Axes, optional
12011201
One or more parent axes from which space for a new colorbar axes
12021202
will be stolen, if *cax* is None. This has no effect if *cax* is
12031203
set.

0 commit comments

Comments
 (0)
2A4B
0