Skip to content

Commit

Permalink
Update html.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Redding <[email protected]>
  • Loading branch information
binste and dangotbanned committed Sep 9, 2024
1 parent ea4e7b4 commit 16d4c56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions altair/utils/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ def spec_to_html(
vl_version = vl_version_for_vl_convert()
render_kwargs["vegaembed_script"] = vlc.javascript_bundle(vl_version=vl_version)
elif template == "olli":
olli_version = "2"
olli_adapters_version = "2"
render_kwargs["olli_version"] = olli_version
render_kwargs["olli_adapters_version"] = olli_adapters_version
OLLI_VERSION = "2"
OLLI_ADAPTERS_VERSION = "2"
render_kwargs["olli_version"] = OLLI_VERSION
render_kwargs["olli_adapters_version"] = OLLI_ADAPTERS_VERSION
render_kwargs["use_olli"] = True

jinja_template = TEMPLATES.get(template, template) # type: ignore[arg-type]
Expand Down

0 comments on commit 16d4c56

Please sign in to comment.