google-deepmind / google-deepmind/treescope

IPython cell magic for enabling Treescope in a single cell

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
474
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.