Skip to content

Commit

Permalink
fix: ensure SupportsGeoInterface branch is triggered in `vegafusion…
Browse files Browse the repository at this point in the history
…_data_transformer`

Fixes: #3426 (comment)
  • Loading branch information
dangotbanned committed Jun 19, 2024
1 parent 5780f21 commit 9f0d58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/utils/_vegafusion_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def vegafusion_data_transformer(
"""VegaFusion Data Transformer"""
if data is None:
return vegafusion_data_transformer
elif isinstance(data, DataFrameLike):
elif isinstance(data, DataFrameLike) and not isinstance(data, SupportsGeoInterface):
table_name = f"table_{uuid.uuid4()}".replace("-", "_")
extracted_inline_tables[table_name] = data
return {"url": VEGAFUSION_PREFIX + table_name}
Expand Down

0 comments on commit 9f0d58a

Please sign in to comment.