From 354255a165e36ad14b227e31f39b6156017055ee Mon Sep 17 00:00:00 2001 From: Mike Fienen Date: Sat, 3 Feb 2024 11:14:46 -0600 Subject: [PATCH] hotfix(numpy 2.0 deprecation)replace np.alltrue with np.all in plot/map.py --- flopy/plot/map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flopy/plot/map.py b/flopy/plot/map.py index 93d272ec02..c8714327bc 100644 --- a/flopy/plot/map.py +++ b/flopy/plot/map.py @@ -284,7 +284,7 @@ def contour_array(self, a, masked_values=None, tri_mask=False, **kwargs): for ix, nodes in enumerate(triangles): neighbors = self.mg.neighbors(nodes[i], as_nodes=True) isin = np.isin(nodes[i + 1 :], neighbors) - if not np.alltrue(isin): + if not np.all(isin): mask[ix] = True if ismasked is not None: