with_color

Contents

with_color#

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

Returns a colored version of the first figure.

Parameters:
  • subfigure – A value to render.

  • color – Any CSS color string.