From 7dcd737525371d89037b4f99dcb19bf94fdb282b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:50:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- branca/colormap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/branca/colormap.py b/branca/colormap.py index 63810be..bf3cc7a 100644 --- a/branca/colormap.py +++ b/branca/colormap.py @@ -98,7 +98,7 @@ def render(self, **kwargs): float(self.vmin + (self.vmax - self.vmin) * k / 499.0) for k in range(500) ] self.color_range = [self.__call__(x) for x in self.color_domain] - + # sanitize possible numpy floats to native python floats self.index = [float(i) for i in self.index]