From f4435a56c9a2a70b7953207aba76463e96c9d003 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Fri, 26 Apr 2024 08:30:41 +0200 Subject: [PATCH] Fix linter --- audplot/core/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audplot/core/api.py b/audplot/core/api.py index 96d6808..5715598 100644 --- a/audplot/core/api.py +++ b/audplot/core/api.py @@ -179,7 +179,7 @@ def confusion_matrix( # Catch warning, # to still support older pandas versions. # See https://github.com/audeering/audplot/pull/69 - warnings.simplefilter(action='ignore', category=FutureWarning) + warnings.simplefilter(action="ignore", category=FutureWarning) if percentage: annot = cm.applymap(lambda x: f"{100 * x:.0f}%") else: @@ -199,7 +199,7 @@ def confusion_matrix( # Catch warning, # to still support older pandas versions. # See https://github.com/audeering/audplot/pull/69 - warnings.simplefilter(action='ignore', category=FutureWarning) + warnings.simplefilter(action="ignore", category=FutureWarning) if percentage: annot2 = cm2.applymap(lambda x: human_format(x)) else: