Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

collapsible items in groups DataTree #145

Closed
agrouaze opened this issue Aug 22, 2022 · 4 comments
Closed

collapsible items in groups DataTree #145

agrouaze opened this issue Aug 22, 2022 · 4 comments
Labels
html repr HTML representation in a notebook

Comments

@agrouaze
Copy link

agrouaze commented Aug 22, 2022

Having collapsible items (like xarray.Datasets) in groups repr_html_ would help to have user friendly overview of python objects.
I am wondering whether this feature is already available or not.
image

@TomNicholas
Copy link
Member

Hi @agrouaze, the HTML repr (which you screenshotted) already has collapsible sections for each group in the tree. (And each group corresponds to a single Dataset object.) Is this what you were asking for?

@dcherian
Copy link

image

It'd be nice to make each Node under "groups" collapsible (like next to TAO).
image

Also why is it called "Groups" instead of "Nodes"?

@agrouaze
Copy link
Author

Well @dcherian summed it up perfectly, it would be nice to have each single dataset collapsible.

@owenlittlejohns
Copy link

Closed in favour of: pydata/xarray#9343

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
html repr HTML representation in a notebook
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants