diff --git a/altair/vegalite/v5/api.py b/altair/vegalite/v5/api.py index a0669b25e..a6d7aa0f5 100644 --- a/altair/vegalite/v5/api.py +++ b/altair/vegalite/v5/api.py @@ -1069,6 +1069,7 @@ def to_url(self, fullscreen: bool = False): If True, editor will open chart in fullscreen mode. Default False """ from ...utils._importers import import_vl_convert + vlc = import_vl_convert() if _using_vegafusion(): return vlc.vega_to_url(self.to_dict(format="vega"), fullscreen=fullscreen)