K3D-tools / K3D-jupyter

K3D lets you create 3D plots backed by WebGL with high-level API (surfaces, isosurfaces, voxels, mesh, cloud points, vtk objects, volume renderer, colormaps, etc). The primary aim of K3D-jupyter is to be easy for use as stand alone package like matplotlib, but also to allow interoperation with existing libraries as VTK.
MIT License
941 stars 123 forks source link

Snapshot HTML produces invalid html file with Jupyter Notebook version 7 #450

Open deankarlen opened 7 months ago

deankarlen commented 7 months ago

Description

The Snapshot HTML produces an invalid file when using Jupyter Notebook Version: 7.1.1

The same code produces a valid file when using Jupyter Notebook Version: 6.5.4 (significantly larger file size).

Example files:

Run with Jupyter Notebook Version 7.1.1 and click on Snapshot HTML control. File that is produced does not work with Firefox or MS Edge browsers. (File produced with earlier version of Jupyter Notebook is fine).

I've attached the files produced from notebook 6.5.4 and 7.1.1:

K3D-snapshot-v711.zip K3D-snapshot-v654.zip