Skip to content

Commit 0da7878

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 53dd92e commit 0da7878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_plot/pl/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ def _update_element_table_mapping_label_colors(
13501350
render_elements
13511351
), "Either one color should be given or the length should be equal to the number of elements being plotted."
13521352
for index, element_name in enumerate(render_elements):
1353-
if len(element_table_mapping[element_name]) !=0:
1353+
if len(element_table_mapping[element_name]) != 0:
13541354
for table_name in element_table_mapping[element_name].copy():
13551355
if (
13561356
params.color[index] not in sdata[table_name].obs.columns

0 commit comments

Comments
 (0)