Hi,
my Holoviews plots are not appearing when opening a Jupyter Notebook saved HTML in Internet Explorer (works with Firefox and Chrome). I am using holoviews 1.10.7, IE 11 and Windows 7.
Does anyone have any experience trying to resolve this issue?
Thanks.
Any chance you could look at the browser's development console and see if there are any errors?
https://docs.microsoft.com/en-us/scripting/javascript/misc/invalid-character-javascript
htmlObject.innerHTML = `<div class="hololayout row row-fluid">
// Ugly hack - see #2574 for more information
if (!(document.getElementById('4f1b21fb-3651-4edc-a8ac-aad8cf4db462')) && !(document.getElementById('_anim_img8a9e9d32019c49c6883763b1b0548086'))) {
console.log("Creating DOM nodes dynamically for assumed nbconvert export. To generate clean HTML output set HV_DOC_HTML as an environment variable.")
var htmlObject = document.createElement('div');
htmlObject.innerHTML = `<div class="hololayout row row-fluid">
<div class="holoframe" id="display_area8a9e9d32019c49c6883763b1b0548086">
<div id="_anim_img8a9e9d32019c49c6883763b1b0548086">
<div id='4f1b21fb-3651-4edc-a8ac-aad8cf4db462' style='display: table; margin: 0 auto;'>
Thanks, that makes sense, template strings are not supported by older browsers. Will try to come up with a workaround.
Thanks Philipp and Xav for the replies. Yes it does seem to be the invalid character javascript error. I got a SCRIPT1014: Invalid character error in Internet Explorer console for each of my Holoviews plots.
I'll try to come up with a fix and include it as part of the 1.10.8 release we're planning to get out today.
Looks like the fix will have to be in pyviz_comms as that's where this error originates.