From 798d3129d968e63b8805cd816ceb171d60786e00 Mon Sep 17 00:00:00 2001 From: niels lafleur <40174298+nlafleur@users.noreply.github.com> Date: Fri, 3 Feb 2023 14:28:33 +0100 Subject: [PATCH 1/7] Update html.py --- altair/utils/html.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/altair/utils/html.py b/altair/utils/html.py index 6be18139c..1000e7ff4 100644 --- a/altair/utils/html.py +++ b/altair/utils/html.py @@ -10,8 +10,14 @@ {%- endif %} {%- if not requirejs %} @@ -60,7 +66,7 @@ var embedOpt = {{ embed_options }}; function showError(el, error){ - el.innerHTML = ('
' + el.innerHTML = ('
' + '

JavaScript Error: ' + error.message + '

' + "

This usually means there's a typo in your chart specification. " + "See the javascript console for the full traceback.

" From 567f7422b43c8a34b88bbd428b17e96ef0c96436 Mon Sep 17 00:00:00 2001 From: mattijn Date: Tue, 25 Apr 2023 20:39:37 +0200 Subject: [PATCH 2/7] include output_div tag and inline_html_template --- altair/utils/html.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/altair/utils/html.py b/altair/utils/html.py index d9125f2fb..b2251f028 100644 --- a/altair/utils/html.py +++ b/altair/utils/html.py @@ -10,13 +10,13 @@ {%- endif %} @@ -157,6 +157,17 @@ +