From 37aafb6a1e063f212d5d0e4662f9ab88d5a3baf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lia=20Benquet?= <32598028+CeliaBenquet@users.noreply.github.com> Date: Wed, 26 Feb 2025 11:04:39 +0100 Subject: [PATCH 1/2] Change text consistency max from 99 to 100 --- cebra/integrations/matplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cebra/integrations/matplotlib.py b/cebra/integrations/matplotlib.py index 30af7fd4..0df87466 100644 --- a/cebra/integrations/matplotlib.py +++ b/cebra/integrations/matplotlib.py @@ -684,7 +684,7 @@ def _to_heatmap_format( else: heatmap_values[i, j] = score_dict[label_i, label_j] - return np.minimum(heatmap_values * 100, 99) + return np.minimum(heatmap_values * 100, 100) def _create_text(self): """Create the text to add in the confusion matrix grid and the title.""" From 35108d0bc7d7cdfbb2a5e503d997b8cb61f69dcf Mon Sep 17 00:00:00 2001 From: Mackenzie Mathis Date: Sat, 1 Mar 2025 15:12:22 +0100 Subject: [PATCH 2/2] Update cebra/integrations/matplotlib.py Co-authored-by: Steffen Schneider --- cebra/integrations/matplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cebra/integrations/matplotlib.py b/cebra/integrations/matplotlib.py index 0df87466..c2696d4a 100644 --- a/cebra/integrations/matplotlib.py +++ b/cebra/integrations/matplotlib.py @@ -684,7 +684,7 @@ def _to_heatmap_format( else: heatmap_values[i, j] = score_dict[label_i, label_j] - return np.minimum(heatmap_values * 100, 100) + return heatmap_values * 100 def _create_text(self): """Create the text to add in the confusion matrix grid and the title."""