styled

Contents

styled#

treescope.figures.styled(subfigure: Any, style: str) figures_impl.TreescopeFigure[source]#

Returns a CSS-styled version of the first figure.

Parameters:
  • subfigure – A value to render.

  • style – A CSS style string.