Skip to content

docs: update jupyter doc#896

Merged
jourdain merged 1 commit into
masterfrom
doc-google-colab
Jun 11, 2026
Merged

docs: update jupyter doc#896
jourdain merged 1 commit into
masterfrom
doc-google-colab

Conversation

@Thibault-Pelletier

Copy link
Copy Markdown
Contributor


# Put the UI into the resulting cell
app
await app.display_cell(height="600px")

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.

I would mention the 2 options. Returning the app is neat, but we should mention that it does not work with collab and the more explicit await is needed.

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.

I updated the doc to add the alternative syntaxes as an example. Let me know what you think!

Comment thread docs/vitepress/guide/jupyter/intro.md Outdated
```jupyter
%%capture --no-stderr

!pip install -q --upgrade trame trame-vtk trame-vuetify setuptools

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.

Do we need setuptools ?

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.

I don't think so. It was listed in the install dependencies step from the section above and I copy pasted without thinking about it.

I have updated both sections.

Comment thread docs/vitepress/guide/jupyter/intro.md
@jourdain

Copy link
Copy Markdown
Collaborator

Much better than the original doc. Happy to merge, but ideally, I would like to have the 2 options listed (return app or method call)

@Thibault-Pelletier Thibault-Pelletier force-pushed the doc-google-colab branch 2 times, most recently from 9453218 to d2e1d51 Compare June 11, 2026 08:49
- Update Jupyter doc with display_cell trame-client API
@jourdain jourdain merged commit c1e5530 into master Jun 11, 2026
6 checks passed
@jourdain jourdain deleted the doc-google-colab branch June 11, 2026 14:28
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