From 6e6aec983eeff042e1486836a4c805fb55703592 Mon Sep 17 00:00:00 2001 From: jlarsen Date: Fri, 16 Feb 2024 11:27:27 -0800 Subject: [PATCH] change np.alltrue back to np.all for numpy 2.0 --- 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 4439cf566e..27b4677c0d 100644 --- a/flopy/plot/map.py +++ b/flopy/plot/map.py @@ -302,7 +302,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: