diff --git a/ensembleperturbation/plotting/surrogate.py b/ensembleperturbation/plotting/surrogate.py index b3d369aa..fb827a6d 100644 --- a/ensembleperturbation/plotting/surrogate.py +++ b/ensembleperturbation/plotting/surrogate.py @@ -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() @@ -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()