We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 872484b commit f009a9eCopy full SHA for f009a9e
1 file changed
app.py
@@ -14,6 +14,7 @@
14
from stpyvista.utils import start_xvfb
15
16
if "IS_XVFB_RUNNING" not in st.session_state:
17
+ print("Starting XVFB...")
18
start_xvfb()
19
st.session_state.IS_XVFB_RUNNING = True
20
@@ -31,7 +32,7 @@
31
32
plotter = pv.Plotter()
33
34
-# add_neuroml_model(plotter, somas_only=True)
35
+add_neuroml_model(plotter, somas_only=True)
36
37
sphere = pv.Sphere(end_theta=90)
38
plotter.add_mesh(sphere)
@@ -42,8 +43,9 @@
42
43
print("Created the scene...")
44
45
if st_mode:
- ## Pass a key to avoid re-rendering at each page change
46
+ ##
47
if True:
48
+ print('Pass a key to avoid re-rendering at each page change')
49
from stpyvista import stpyvista
50
51
stpyvista(plotter, key="pv_cube")
0 commit comments