Skip to content

Commit a3aa9e4

Browse files
fix #464 (#465)
1 parent bfd996d commit a3aa9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_plot/pl/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _render_shapes(
136136
if isinstance(groups, list) and color_source_vector is not None:
137137
mask = color_source_vector.isin(groups)
138138
shapes = shapes[mask]
139-
shapes = shapes.reset_index()
139+
shapes = shapes.reset_index(drop=True)
140140
color_source_vector = color_source_vector[mask]
141141
color_vector = color_vector[mask]
142142

0 commit comments

Comments
 (0)