From ee4b8af76758c34e10d4f3b6482fce03b2629312 Mon Sep 17 00:00:00 2001 From: Bear Carlson Date: Wed, 24 Jul 2024 13:47:03 -0400 Subject: [PATCH] Fix typo --- spine/vis/out.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine/vis/out.py b/spine/vis/out.py index 760b1f28..4167eba4 100644 --- a/spine/vis/out.py +++ b/spine/vis/out.py @@ -286,7 +286,7 @@ def _object_colors(self, obj_name, attr): elif count <= len(colorscale): colorscale = colorscale[:count] else: - repeat = (count - 1)//len(colorscales) + 1 + repeat = (count - 1)//len(colorscale) + 1 self._colorscale = np.repeat(colorscale, repeat)[:count] cmin = 0