Edwin

Results 11 comments of Edwin

Hi @DomenicoGaudioso, iirc, rendering lines as tubes and points as spheres are limitations from vtk-js, the library used to bring PyVista plotters to the browser: https://github.com/pyvista/pyvista/issues/5444 For example 1, my...

Perhaps it's because I was looping through each edge element and adding it to the pyvista Plotter. We could try a couple things to improve performance: - Decorate with `st.cache_resource`...

I don't think that will be possible because a single lines actor is generated from a single [`pv.Plotter.add_lines`](https://docs.pyvista.org/version/stable/api/plotting/_autosummary/pyvista.Plotter.add_lines.html) call.

See https://github.com/edsaac/stpyvista/issues/19#issuecomment-2030947855

Yes, for some reason `panel` does no use the camera zoom passed from `pyvista`. I believe the camera can be controlled with a separate dict as a kwarg of `pane.vtk`...

Not as it is right now. `threejs` has room for interactivity (e.g., https://threejs.org/examples/#webgl_interactive_voxelpainter), but some of that functionality is not implemented in `pythreejs` which is what this component uses. A...

@ssingh1997, no clue what `NSInternalInconsistencyException` is about. The segfaulting you get in docker is probably due not having a display server. Check below how to start one using `pyvista`: https://docs.pyvista.org/version/stable/api/utilities/_autosummary/pyvista.start_xvfb.html...

This issue appears to be iOS specific so I am not able to replicate it. iOS was just recently added as a supported platform to CPython ([PEP 719](https://peps.python.org/pep-0719/)), so maybe...

`stpyvista` moved away from `pythreejs` and is currently using `panel` as the rendering backend. Check if upgrading to version >=0.0.7 works for you (`pip install stpyvista -U`).

stpyvista uses the pythreejs backend to convert the pyvista plotter into an HTML that is then passed to streamlit. This has some limitations, like adding a colorbar or text (check...