Skip to content

Commit 801ffb9

Browse files
committed
docs: make the code match the tutorial page code
1 parent 62cc885 commit 801ffb9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

01_vtk/solution_cone.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
fluid=True,
5656
classes="pa-0 fill-height",
5757
):
58-
view = vtk.VtkLocalView(renderWindow)
58+
html_view = vtk.VtkLocalView(renderWindow)
59+
ctrl.on_server_ready.add(html_view.update)
5960

6061

6162
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)