From a7455accae32bfac586287006372f5dbcb8fc40e Mon Sep 17 00:00:00 2001 From: Jaewoong Lee <230@fumire.moe> Date: Thu, 15 Apr 2021 08:51:59 +0900 Subject: [PATCH] This is a patch for the issue #13 --- comut/comut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comut/comut.py b/comut/comut.py index 270656c..3fca1de 100644 --- a/comut/comut.py +++ b/comut/comut.py @@ -1042,7 +1042,7 @@ def _plot_indicator_data(self, ax, data, name, plot_kwargs): for i, group in enumerate(set(data['group'])): # ignore missing samples - if np.isnan(group): + if df.isna(group): continue # plot the first with a label so legend can extract it later