From 51acd9cb3b63ea1699689c20920f835a4cb2943a Mon Sep 17 00:00:00 2001 From: Hans Kallekleiv <16436291+HansKallekleiv@users.noreply.github.com> Date: Fri, 7 Feb 2025 14:32:23 +0100 Subject: [PATCH] Fix ensemble colors in relperm (#1317) --- webviz_subsurface/plugins/_relative_permeability.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webviz_subsurface/plugins/_relative_permeability.py b/webviz_subsurface/plugins/_relative_permeability.py index 72582150a..d84ceef84 100644 --- a/webviz_subsurface/plugins/_relative_permeability.py +++ b/webviz_subsurface/plugins/_relative_permeability.py @@ -971,7 +971,7 @@ def p90(x): traces = [] for ens_no, (ens, ens_df) in enumerate( - df[["ENSEMBLE", "REAL", "SATNUM", sataxis] + curves].groupby(["ENSEMBLE"]) + df[["ENSEMBLE", "REAL", "SATNUM", sataxis] + curves].groupby("ENSEMBLE") ): for satnum_no, (satnum, satnum_df) in enumerate( ens_df[["REAL", "SATNUM", sataxis] + curves].groupby("SATNUM")