File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -674,7 +674,9 @@ def show(
674
674
# the index and randomise colours for it
675
675
676
676
# add fake column for limiting the amount of different colors
677
- sdata .table .obs ["fake" ] = np .random .randint (0 , N_DISTINCT_FOR_RANDOM , sdata .table .obs .shape [0 ])
677
+ sdata .table .obs ["fake" ] = np .random .randint (
678
+ 0 , N_DISTINCT_FOR_RANDOM , sdata .table .obs .shape [0 ]
679
+ )
678
680
679
681
# has a table, so it has a region key
680
682
region_key = _get_region_key (sdata )
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ def _render_labels(
161
161
ax .set_ylim (extent ["y" ][0 ], extent ["y" ][1 ])
162
162
163
163
for group in groups :
164
-
165
164
# Getting cell ids belonging to group and casting them to int for later numpy comparisons
166
165
vaid_cell_ids = table [table [params ["color_key" ]] == group ][params ["instance_key" ]].values
167
166
vaid_cell_ids = [int (id ) for id in vaid_cell_ids ]
You can’t perform that action at this time.
0 commit comments