From 5b940e3c047efffa9ce68cfa3f5187ca94eea5ef Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Thu, 21 Mar 2024 20:11:06 -0400 Subject: [PATCH] Don't set embed_options to None --- python/vegafusion/vegafusion/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/vegafusion/vegafusion/__init__.py b/python/vegafusion/vegafusion/__init__.py index 2972afb0..649d89a9 100644 --- a/python/vegafusion/vegafusion/__init__.py +++ b/python/vegafusion/vegafusion/__init__.py @@ -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