Skip to content

Commit 0903cf6

Browse files
Update ipyleaflet/velocity.py
Co-authored-by: David Brochart <[email protected]>
1 parent 9ed1365 commit 0903cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipyleaflet/velocity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def _default_color_scale(self):
7676

7777
for color in self.colormap.colors:
7878
rgb_tuple = tuple(int(x * 256) for x in color[:3])
79-
rgb_str = f'rgb{str(rgb_tuple)}'
79+
rgb_str = f"rgb{rgb_tuple}"
8080
self.color_scale.append(rgb_str)
8181

8282
return self.color_scale

0 commit comments

Comments
 (0)