We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e80e867 + 54559a5 commit d540a3fCopy full SHA for d540a3f
src/spatialdata_plot/pl/render.py
@@ -968,9 +968,9 @@ def _render_labels(
968
instance_id=instance_id[mask]
969
color_vector=color_vector[mask]
970
if pd.api.types.is_categorical_dtype(color_vector.dtype):
971
- color_vector=color_vector.remove_unused_categories()
+ color_vector = color_vector.remove_unused_categories()
972
if color_source_vector is not None:
973
- color_source_vector=color_source_vector[mask]
+ color_source_vector = color_source_vector[mask]
974
975
def _draw_labels(seg_erosionpx: int | None, seg_boundaries: bool, alpha: float) -> matplotlib.image.AxesImage:
976
labels = _map_color_seg(
0 commit comments