display_streaming_as_root#
- penzai.treescope.foldable_representation.foldable_impl.display_streaming_as_root(root_node: RenderableTreePart, deferreds: Sequence[DeferredWithThunk], roundtrip: bool = False, compressed: bool = True)[source]#
Displays a root node in an IPython notebook in a streaming fashion.
- Parameters:
root_node – The root node to render.
deferreds – Deferred objects to render and splice in.
roundtrip – Whether to render in roundtrip mode.
compressed – Whether to compress the HTML for display.