You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are already two functions for that : TldrawMakeStaticPNG, TldrawMakeStaticSVG.
However, after converting the PNG (or SVG) is still a widget, and therefore won't be displayed after notebook reopening and also won't be displayed on GitHub.
In order to make this work, the jupyter cell output would need to be converted to the type image/jpeg.
This is an unsolved ipywidget issue, but this minimal example might help figuring thing out: jupyter-widgets/ipywidgets#3874
The text was updated successfully, but these errors were encountered:
There are already two functions for that :
TldrawMakeStaticPNG
,TldrawMakeStaticSVG
.However, after converting the PNG (or SVG) is still a widget, and therefore won't be displayed after notebook reopening and also won't be displayed on GitHub.
In order to make this work, the jupyter cell output would need to be converted to the type
image/jpeg
.This is an unsolved ipywidget issue, but this minimal example might help figuring thing out:
jupyter-widgets/ipywidgets#3874
The text was updated successfully, but these errors were encountered: