Skip to content

Commit 4348de5

Browse files
committed
precommit
1 parent 4beb47d commit 4348de5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

branca/colormap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ def rgba_bytes_tuple(self, x: float) -> TypeRGBAInts:
175175
"""Provides the color corresponding to value `x` in the
176176
form of a tuple (R,G,B,A) with int values between 0 and 255.
177177
"""
178-
return tuple(_color_normalized_float_to_byte_int(u) for u in self.rgba_floats_tuple(x)) # type: ignore
178+
return tuple(_color_normalized_float_to_byte_int(u)
179+
for u in self.rgba_floats_tuple(x)) # type: ignore
179180

180181
def rgb_bytes_tuple(self, x: float) -> TypeRGBInts:
181182
"""Provides the color corresponding to value `x` in the

0 commit comments

Comments
 (0)