Skip to content

bug: np.alltrue will be deprecated in numpy 2.0 #2086

@mnfienen

Description

@mnfienen

Describe the bug
flopy.plot.PlotMapView.contour_array is using np.alltrue at line 287 which will be deprecated in numpy 2.0

To Reproduce
Steps to reproduce the behavior:
Run the plotting functions at the end of this notebook
https://github.com/DOI-USGS/python-for-hydrology/blob/main/notebooks/part1_flopy/solutions/06-Project-voronoi.ipynb

Expected behavior
No deprecation warning

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: OSX

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions