with_color#
- penzai.treescope.figures.with_color(subfigure: Any, color: str) RendersAsRootInIPython [source]#
Returns a colored version of the first figure.
- Parameters:
subfigure – A value to render. Will be wrapped using
wrap_as_treescope_figure
.color – Any CSS color string.