Skip to content

IPython cell magic for enabling Treescope in a single cell #5

@JEM-Mosig

Description

@JEM-Mosig

I'd like to get the treescope visualizations in notebooks only if I decorate a cell with %%autovisualize. However, %%autovisualize doesn't seem to have any effect. I can only use treescope everywhere (with basic_interactive_setup()) or nowhere.

image

I am aware of treescope.show, but I'd still like to use %%autovisualize because it is nicely separated from the code content of the cell.

Thank you for sharing this great library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions