inline

Contents

inline#

penzai.treescope.figures.inline(*parts: Any, wrap: bool = False) RendersAsRootInIPython[source]#

Returns a figure that arranges a set of displayable objects along a line.

Parameters:
  • *parts – Subfigures to display inline. These will be displayed using wrap_as_treescope_figure.

  • wrap – Whether to wrap (insert newlines) between words at the end of a line.

Returns:

A figure which can be rendered in IPython or used to build more complex figures.