Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit8d6ec23

Browse files
authored
Merge pull request#29459 from meeseeksmachine/auto-backport-of-pr-29456-on-v3.10.x
Backport PR#29456 on branch v3.10.x (DOC: Fix type descriptions in fill_between docstring)
2 parents592650e +c8d6b41 commit8d6ec23

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

‎lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5599,16 +5599,16 @@ def _fill_between_x_or_y(
55995599
56005600
Parameters
56015601
----------
5602-
{ind} : array (length N)
5602+
{ind} : array-like
56035603
The {ind} coordinates of the nodes defining the curves.
56045604
5605-
{dep}1 : array (length N)orscalar
5605+
{dep}1 : array-likeorfloat
56065606
The {dep} coordinates of the nodes defining the first curve.
56075607
5608-
{dep}2 : array (length N)orscalar, default: 0
5608+
{dep}2 : array-likeorfloat, default: 0
56095609
The {dep} coordinates of the nodes defining the second curve.
56105610
5611-
where : array of bool (length N), optional
5611+
where : array-like of bool, optional
56125612
Define *where* to exclude some {dir} regions from being filled.
56135613
The filled regions are defined by the coordinates ``{ind}[where]``.
56145614
More precisely, fill between ``{ind}[i]`` and ``{ind}[i+1]`` if

‎lib/matplotlib/collections.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,16 +1282,16 @@ def __init__(
12821282
- 'x': the curves are ``(t, f1)`` and ``(t, f2)``.
12831283
- 'y': the curves are ``(f1, t)`` and ``(f2, t)``.
12841284
1285-
t : array (length N)
1285+
t : array-like
12861286
The ``t_direction`` coordinates of the nodes defining the curves.
12871287
1288-
f1 : array (length N)orscalar
1288+
f1 : array-likeorfloat
12891289
The other coordinates of the nodes defining the first curve.
12901290
1291-
f2 : array (length N)orscalar
1291+
f2 : array-likeorfloat
12921292
The other coordinates of the nodes defining the second curve.
12931293
1294-
where : array of bool (length N), optional
1294+
where : array-like of bool, optional
12951295
Define *where* to exclude some {dir} regions from being filled.
12961296
The filled regions are defined by the coordinates ``t[where]``.
12971297
More precisely, fill between ``t[i]`` and ``t[i+1]`` if
@@ -1362,16 +1362,16 @@ def set_data(self, t, f1, f2, *, where=None):
13621362
13631363
Parameters
13641364
----------
1365-
t : array (length N)
1365+
t : array-like
13661366
The ``self.t_direction`` coordinates of the nodes defining the curves.
13671367
1368-
f1 : array (length N)orscalar
1368+
f1 : array-likeorfloat
13691369
The other coordinates of the nodes defining the first curve.
13701370
1371-
f2 : array (length N)orscalar
1371+
f2 : array-likeorfloat
13721372
The other coordinates of the nodes defining the second curve.
13731373
1374-
where : array of bool (length N), optional
1374+
where : array-like of bool, optional
13751375
Define *where* to exclude some {dir} regions from being filled.
13761376
The filled regions are defined by the coordinates ``t[where]``.
13771377
More precisely, fill between ``t[i]`` and ``t[i+1]`` if

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp