Comments (4)
Hello Marco,
your function closeWindow() does the job. I tested it according your code stated what yields:
- pressing button 'q': closes the window
- pressing button 'e': closes the window
Pressing the 'esc' button still results in a jupyter kernel crash with message: The kernel appears to have died. It will restart automatically. together with the error messages indicated before. That will not hinder me proceed working with vtkplotter much more intensively now! (What means also reading docs).
Great tool - thank you so much!
Siegfried
from vedo.
Hi Siegfried
I just committed a version where you can do:
from vtkplotter.dolfin import closeWindow
#...
plot(mesh)
closeWindow()
let me know if you encounter any problem with it!
Cheers
Marco
from vedo.
PS; remember you can go back to window interaction by calling
plot() # w/ no arguments
from vedo.
Thank you for your input!
Indeed you made me realize that the esc
thing is not really good for jupiter users and actually redundant, so I will fix it in the next release..
All this is still a bit work in progress so If you feel there is any functionality missing/broken or that you would like to have dont hesitate to ask..
Cheers
Marco
from vedo.
Related Issues (20)
- How to add the slider? HOT 1
- How to load multiple Volumes in 1 3D interactive plane HOT 4
- Segmentation and Visualization of CT Scan Structures Based on Density in Vedo HOT 4
- Overlap on inside of Tube HOT 1
- Mesh cut with cut_with_box results in non water tight mesh HOT 2
- Optimize Loading and Visualization of Multiple .nii.gz Segments in Vedo HOT 1
- Issue with `mask` Function Example and Request for Assistance with `hide_voxels()` Function HOT 8
- How to flatten mesh to 2D and get its internal and external boundaries? HOT 8
- Vedo only render the change when I move my mouse on the screen HOT 6
- Vedo and torch.multiprocessing HOT 1
- How to change ImageScalars from volume.slice_plane() to be turned to image (numpy) ? HOT 4
- How to integrate interactive volume objects on Webpage? HOT 1
- Running vedo in a Docker container not working. HOT 2
- (x,y) coordinate format not working on LegendBox HOT 1
- test extract_cells_by_type() failing on 32-bit arches: Expecting a numpy.int32 array, got int64 instead. HOT 2
- Close an extruded mesh with a cover HOT 4
- Access faces of a mesh based on their ouput colour HOT 3
- DistanceTool Not Working HOT 2
- plane normal HOT 3
- Adding item to Group HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vedo.