Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
np.float is deprecated (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx authored Jan 14, 2024
1 parent eec157c commit 36db86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pema/summary_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _plot_peak_matching_histogram(hists):
n_peaks_hist = hists['_total']

for outcome, hist in hists.items():
hist = hist.histogram.astype(np.float)
hist = hist.histogram.astype(float)

if outcome == '_total':
continue
Expand Down

0 comments on commit 36db86a

Please sign in to comment.