You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason something go broken recently, and the rendered box does not appear anymore.
The script I used is:
importstreamlitasstimportpyvistaaspvfromstpyvistaimportstpyvista# ipythreejs does not support scalar bars :(pv.global_theme.show_scalar_bar=False# Initialize a plotter objectplotter=pv.Plotter(window_size=[400, 400])
# Create a mesh with a cubemesh=pv.Cube(center=(0, 0, 0))
# Add some scalar field associated to the meshmesh['myscalar'] =mesh.points[:, 2]*mesh.points[:, 0]
# Add mesh to the plotterplotter.add_mesh(mesh, scalars='myscalar', cmap='bwr', line_width=1)
# Final touchesplotter.view_isometric()
# Pass a key to avoid re-rendering at each time something changes in the pagestpyvista(plotter, key="pv_cube")
Dear developers,
Thanks a lot for this project.
For some reason something go broken recently, and the rendered box does not appear anymore.
The script I used is:
The versions of packages are
I also join the log from chrome, showing some complaints about some "widgets".
localhost-1679643230547.log
Thank you very much for your help on this.
The text was updated successfully, but these errors were encountered: