Blob Blame History Raw
From ff02350fae872736477f1825a9f62208b4c4e7fe Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 28 Mar 2021 06:44:21 -0400
Subject: [PATCH] Fix dendrogram test setup.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 tests/viz_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/viz_tests.py b/tests/viz_tests.py
index b56c587..1f3e985 100644
--- a/tests/viz_tests.py
+++ b/tests/viz_tests.py
@@ -105,7 +105,7 @@ class TestDendrogram(unittest.TestCase):
         simple_df = pd.DataFrame((np.random.random((20, 10))), columns=range(0, 10))
         simple_df.iloc[:, :2] = (simple_df.iloc[:, :2] > 0.2)
         simple_df.iloc[:, 2:5] = (simple_df.iloc[:, 2:5] > 0.8)
-        simple_df.iloc[:, 5:10] = (simple_df.iloc[:, 2:5] > 0.5)
+        simple_df.iloc[:, 5:10] = (simple_df.iloc[:, 5:10] > 0.5)
         self.simple_df = simple_df.replace(False, np.nan)
 
     @pytest.mark.mpl_image_compare
-- 
2.29.2