-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The example in notebook_workflow.ipynb has the below as instructions for displaying the scene:
# To display the scene we use `vedo`'s `show` method to show the scene's actors
from vedo import Plotter # <- this will be used to render an embedded scene
plt = Plotter()
plt.show(*scene.renderables) # same as vedo.show(*scene.renderables)
Meanwhile the text printed below the cell (from render.py) suggestions something different.
brainrender/brainrender/render.py
Lines 272 to 280 in f006213
| elif self.backend == "k3d": # pragma: no cover | |
| # Remove silhouettes | |
| self.remove(*self.get_actors(br_class="silhouette")) | |
| print( | |
| f"[{teal}]Your scene is ready for rendering, use:\n", | |
| Syntax("from vedo import show", lexer="python"), | |
| Syntax("vedo.show(*scene.renderables)", lexer="python"), | |
| sep="\n", | |
| ) |
Running this results in an incorrect output:
The text should be harmonised and we should pick one way of suggesting users run brainrender in a Jupyter notebook.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working