basic_interactive_setup#
- treescope.basic_interactive_setup(autovisualize_arrays: bool = True)[source]#
Sets up IPython for interactive use with Treescope.
This is a helper function that runs various setup steps:
Configures Treescope as the default IPython renderer.
Turns on interactive mode for Treescope’s context managers.
Registers the
%%autovisualize
magic.Registers the
%%with
magic.If
autovisualize_arrays
is True, configures Treescope to automatically visualize arrays.
- Parameters:
autovisualize_arrays – Whether to automatically visualize arrays.