working with vtkplotter.show()
See original GitHub issueHi,
First of all, thanks a lot for sharing what seems to be such an interactive python library for data visualisation. I just discovered vtkplotter and try to use this to visualise my results more meaningfully. However, I think I’ve got a quick naive question.
When I tried to load a .obj mesh and visualise it using vtkplotter.show(), it doesn’t launch the visual graphic. Instead it give something like following, which according to my idea contains some meta data of the visual.
`In [6]: show(m)
Out[6]: Plot(antialias=3, axes=[‘x’, ‘y’, ‘z’], axes_helper=1.0, background_color=16777215, camera=[0.012851721776526668, 0.01323173118929217, 0.6199803058828682, 0.0036249905824661255, 0.004004999995231628, 0.004834994673728943, 0, 1, 0], camera_auto_fit=False, camera_fov=60.0, fps=25.0, fps_meter=False, grid=[-0.2778100073337555, -0.263729989528656, -0.24404999613761902, 0.28505998849868774, 0.27173998951911926, 0.2537199854850769], height=500, lighting=1.2, mode=‘view’, object_ids=[112670800472], screenshot_scale=2.0)`
Any idea what I’m missing here ?
Thank you in advance for your time.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Now I think the issue is related to ipython. I’m still not able to make it run inside ipython. But it works just fine when called from the terminal without launching the ipython console. Thanks anyway for your help in trying to isolate the issue.
Uhm… that’s pretty weird… This happens in jupyterlab not on jupyter notebook. From Out[5] I see you are using the K3D backend. Other options are
embedWindow('itk')
embedWindow('panel')
embedWindow('2d')
embedWindow(False)
I’ll give it a try on my macbook too.