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
942 stars 123 forks source link

screenshot button not working #323

Closed HumHongeKamyaab closed 2 years ago

HumHongeKamyaab commented 2 years ago

screenshot button in the k3d widget in either jupyter lab / notebook is not working. There is no action/new window on pressing it by mouse.

image

versions k3d : 2.11.0 jupyterlab : 3.2.5 python version : 3.8.10 Ubuntu 20.04.3 LTS

artur-trzesiok commented 2 years ago

Hi @HumHongeKamyaab !

I cannot reproduce your issue. Could you provide dump from browser console?

Example:

screenshot.js:62 K3D: Screenshot [html]: 1.684 s
screenshot.js:62 K3D: Screenshot [canvas]: 0.698 s
HumHongeKamyaab commented 2 years ago

It got resolved using Jupyter-lab after clearing browser cache.