Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 3, 2024
1 parent 8a63b3b commit 7dcd737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion branca/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 7dcd737

Please sign in to comment.