Skip to content

Commit

Permalink
docs(picking): update pv picking readme and code
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Apr 5, 2024
1 parent 3e8bb65 commit 7e480b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/07_paraview/Picking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Setup a local venv with `trame` installed
python3.9 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install trame
pip install trame trame-vtk trame-vuetify

export PV_VENV=$PWD/.venv
```
Expand Down
7 changes: 6 additions & 1 deletion examples/07_paraview/Picking/pv_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,10 @@ def on_mode_change(selection_mode, **kwargs):
ctrl.view_reset_camera = html_view.reset_camera
ctrl.view_update = html_view.update

if __name__ == "__main__":

def main():
server.start()


if __name__ == "__main__":
main()

0 comments on commit 7e480b9

Please sign in to comment.