Fix trailing comma fixes black formatting
@@ -644,10 +644,9 @@ class Labels(_ImageBase):
def color_mode(self, color_mode: Union[str, LabelColorMode]):
color_mode = LabelColorMode(color_mode)
if color_mode == LabelColorMode.DIRECT:
- (
- custom_colormap,
- label_color_index,
- ) = color_dict_to_colormap(self.color)
+ custom_colormap, label_color_index = color_dict_to_colormap(
+ self.color
+ )
super()._set_colormap(custom_colormap)
self._label_color_index = label_color_index
elif color_mode == LabelColorMode.AUTO:
