register_autovisualize_magic

register_autovisualize_magic#

penzai.treescope.treescope_ipython.register_autovisualize_magic()[source]#

Registers the %%autovisualize magic.

This makes it possible to use %%autovisualize at the top of a cell to enable automatic visualization for that cell’s outputs.

Raises:

RuntimeError – If IPython is not available.