K3d freezes Jupyter notebook after showing a mesh
See original GitHub issueI am using vtkplotter with Trimesh in Jupyter notebook, but the k3d display takes about 5 seconds to load every time I run the cell with the show
command. So I want to disable the k3d display and just use the default separate window. Right now I do this by uninstalling k3d from my Python environment. Is there a better way?
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Jupyter Notebook + Matplotlib; Freeze on plot.show()
Is this in Jupyter Notebook or something of the sort? Usually you shouldn't be able to do matplotlib.use('QT4Agg') import matplotlib.
Read more >vedo API documentation
Package vedo. A python module for scientific analysis of 3D objects and point clouds based on VTK and numpy.
Read more >How to reset a Jupyter notebook(to resolve kernel crashes)
TLDR: Run /dsa/scripts/nbclean.py with the path to the offending notebook to clear all code cell outputs when you cause your jupyter server to ......
Read more >3d interactive data visualisation with K3D-jupyter
K3D -jupyter is a Jupyter notebook 3d visualization package created ... The following Python code will make a surface plot of a function...
Read more >Windows/Jupyter/Netgen GUI issue - Kunena
The notebook hangs executing the first Python command after importing the ... the end of the notebook, then the kernel crashes, so I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This worked perfectly for me, thank you! I’m still surprised your machine could actually still run the scene smoothly with all the vertex colors. To clarify, did vtkplotter use to assume that all meshes come with a color for each vertex?
Another tangent question. Is there a way to show the plot so that Z-axis is pointing up?
Update.
Also, vtkplotter scene seems to look a bit smoother. Do you use a different shader?