register_context_manager_magic

register_context_manager_magic#

treescope.register_context_manager_magic[source]#

Registers the %%with magic.

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

Raises:

RuntimeError – If IPython is not available.