Skip to content

Finish making all the examples use best practice#8

Merged
jourdain merged 6 commits into
Kitware:masterfrom
UlysseDurand:fix-version
May 7, 2026
Merged

Finish making all the examples use best practice#8
jourdain merged 6 commits into
Kitware:masterfrom
UlysseDurand:fix-version

Conversation

@UlysseDurand
Copy link
Copy Markdown
Contributor

This PR finishes the change of all the examples from the tutorial, using TrameApp, the @change decorator, self.ui instead of layout, etc...

The following PR on the trame repo integrates these changes in the doc: Kitware/trame#877

Comment thread 01_vtk/solution_cone.py
classes="pa-0 fill-height",
):
html_view = vtk.VtkLocalView(renderWindow)
self.ctrl.on_server_ready.add(html_view.update)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that line is not needed anymore. (self.ctrl.on_server_ready.add)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line removed in

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is addressed in

#9

Comment thread 04_application/solution.py
@jourdain
Copy link
Copy Markdown
Collaborator

jourdain commented May 7, 2026

merging as it is already great. My comments are just to make it even better. Can be done later on.

@jourdain jourdain merged commit 99d402c into Kitware:master May 7, 2026
UlysseDurand added a commit to UlysseDurand/trame-tutorial that referenced this pull request May 11, 2026
UlysseDurand added a commit to UlysseDurand/trame that referenced this pull request May 11, 2026
UlysseDurand added a commit to UlysseDurand/trame-tutorial that referenced this pull request May 11, 2026
UlysseDurand added a commit to UlysseDurand/trame that referenced this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants