Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a100e3

Browse filesBrowse files
authored
Merge pull request #24070 from rcomer/colorbar-space-steal
DOC: colorbar may steal from array of axes
2 parents d99b2e9 + 35513c6 commit 1a100e3
Copy full SHA for 1a100e3

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎lib/matplotlib/colorbar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colorbar.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.