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

Commit6f137b9

Browse files
authored
Merge pull request#24115 from QuLogic/fix-maskarray-np124
Fix mask lookup in fill_between for NumPy 1.24+
2 parentsc0bbd78 +b776ff1 commit6f137b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5272,7 +5272,7 @@ def _fill_between_x_or_y(
52725272
raiseValueError(f"where size ({where.size}) does not match "
52735273
f"{ind_dir} size ({ind.size})")
52745274
where=where&~functools.reduce(
5275-
np.logical_or,map(np.ma.getmask, [ind,dep1,dep2]))
5275+
np.logical_or,map(np.ma.getmaskarray, [ind,dep1,dep2]))
52765276

52775277
ind,dep1,dep2=np.broadcast_arrays(
52785278
np.atleast_1d(ind),dep1,dep2,subok=True)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp