Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Apr 26, 2024
1 parent f0ebdfb commit f4435a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audplot/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit f4435a5

Please sign in to comment.