Skip to content

Commit 6f137b9

Browse files
authored
Merge pull request #24115 from QuLogic/fix-maskarray-np124
Fix mask lookup in fill_between for NumPy 1.24+
2 parents c0bbd78 + b776ff1 commit 6f137b9

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
raise ValueError(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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy