active_autovisualizer

active_autovisualizer#

penzai.treescope.autovisualize.active_autovisualizer: context.ContextualValue[Autovisualizer]#

The active autovisualizer to use when rendering a tree to HTML.

This can be overridden interactively to enable rich visualizations in treescope. Users are free to set this to an arbitrary renderer of their choice; a common choice is arrayviz’s ArrayAutovisualizer().