Skip to content

Commit

Permalink
Remove deprecated np.product (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jun 30, 2023
1 parent 3baf4e3 commit 4a2b131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoviews/data/iris.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def length(cls, dataset):
"""
Returns the total number of samples in the dataset.
"""
return np.product([len(d.points) for d in dataset.data.coords(dim_coords=True)], dtype=np.intp)
return np.prod([len(d.points) for d in dataset.data.coords(dim_coords=True)], dtype=np.intp)


@classmethod
Expand Down

0 comments on commit 4a2b131

Please sign in to comment.