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 = ('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