From 830ede3977bcce396aa49fa4ed9c23ecc7356cd2 Mon Sep 17 00:00:00 2001 From: SorooshMani-NOAA Date: Wed, 20 Dec 2023 02:41:41 +0000 Subject: [PATCH] Fix vmax cutoff issue --- ensembleperturbation/plotting/surrogate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ensembleperturbation/plotting/surrogate.py b/ensembleperturbation/plotting/surrogate.py index 446e2b0b..607ca144 100644 --- a/ensembleperturbation/plotting/surrogate.py +++ b/ensembleperturbation/plotting/surrogate.py @@ -584,7 +584,7 @@ def plot_selected_probability_fields( node_prob_field['y'].max(), ] ) - vmax = 1 + vmax = 1 + numpy.finfo(float).eps vmin = 0 for lvl in level_list: figure = pyplot.figure()