Skip to content

Commit

Permalink
Don't set embed_options to None
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Mar 22, 2024
1 parent fedf1cb commit 5b940e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/vegafusion/vegafusion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def enable(mimetype="html", row_limit=10000, embed_options=None):
Dictionary of options to pass to the vega-embed. Default
entry is {'mode': 'vega'}.
"""
embed_options = embed_options if embed_options is not None else {}
return RendererTransformerEnabler(
renderer_ctx=alt.renderers.enable(
'vegafusion-mime', mimetype=mimetype, row_limit=row_limit, embed_options=embed_options
Expand Down

0 comments on commit 5b940e3

Please sign in to comment.