Skip to content

Commit

Permalink
replace numpy.round_ with numpy.round
Browse files Browse the repository at this point in the history
  • Loading branch information
FariborzDaneshvar-NOAA authored and SorooshMani-NOAA committed Aug 7, 2024
1 parent daeb439 commit cbf408d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ensembleperturbation/plotting/surrogate.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def plot_selected_validations(
validation['y'].max(),
]
)
vmax = numpy.round_(validation.sel(source='model').results.quantile(0.98), decimals=1)
vmax = numpy.round(validation.sel(source='model').results.quantile(0.98), decimals=1)
vmin = 0.0
for run in run_list:
figure = pyplot.figure()
Expand Down Expand Up @@ -476,7 +476,7 @@ def plot_selected_percentiles(
node_percentiles['y'].max(),
]
)
vmax = numpy.round_(percentiles.sel(source='model').quantile(0.98), decimals=1)
vmax = numpy.round(percentiles.sel(source='model').quantile(0.98), decimals=1)
vmin = 0.0
for perc in perc_list:
figure = pyplot.figure()
Expand Down

0 comments on commit cbf408d

Please sign in to comment.