We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee4dc5 commit e3de474Copy full SHA for e3de474
1 file changed
src/spatialdata_plot/pl/utils.py
@@ -1078,9 +1078,9 @@ def _set_color_source_vec(
1078
table_name=table_name,
1079
)
1080
1081
- # Issue #620: when both the element's own dataframe and the chosen table
1082
- # contain a column with this name, an explicit `table_name=` resolves the
1083
- # ambiguity — keep only the table origin and skip the multi-origin error below.
+ # When both the element's own dataframe and the chosen table contain a
+ # column with this name, an explicit `table_name=` resolves the ambiguity —
+ # keep only the table origin and skip the multi-origin error below.
1084
explicit_table_shadows_df = table_name is not None and any(o.origin == "df" for o in origins)
1085
if explicit_table_shadows_df:
1086
origins = [o for o in origins if o.origin != "df"]
0 commit comments