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

Automated screenshot issue #326

Closed smajee closed 2 years ago

smajee commented 2 years ago

The method for getting automated screenshot outlined in link doesn't work for me. The resulting screenshot has garbage values. The manual screenshot option via the widget still works though.

Note that I am not running jupyter in a browser but in VS Code via remote developement.

tgandor commented 2 years ago

Please have a look at headless rendering: https://github.com/K3D-tools/K3D-jupyter/blob/main/examples/headless.ipynb

You might also like: https://github.com/K3D-tools/K3D-jupyter/blob/main/examples/snapshots.ipynb

artur-trzesiok commented 2 years ago

Hi! Any news with this issue. @smajee did a explanation from @tgandor solve your problem?