Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datatree: Collapsible items in groups DataTree #9343

Open
owenlittlejohns opened this issue Aug 13, 2024 · 1 comment
Open

datatree: Collapsible items in groups DataTree #9343

owenlittlejohns opened this issue Aug 13, 2024 · 1 comment
Labels
enhancement topic-DataTree Related to the implementation of a DataTree class topic-html-repr

Comments

@owenlittlejohns
Copy link
Contributor

owenlittlejohns commented Aug 13, 2024

What is your issue?

Originally posted by @agrouaze in xarray-contrib/datatree#145
Attempted implementation in this PR

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

Clarification: The ask here is to make individual groups collapsible in the HTML rendering, so it is possible to see all the child groups, without having to see the full contents of a group.

@owenlittlejohns owenlittlejohns added the needs triage Issue that has not been reviewed by xarray team member label Aug 13, 2024
@owenlittlejohns
Copy link
Contributor Author

When migrating this issue, we discussed that this work may need to (or wait for) be part of a larger rewrite of the HTML rendering code.

@owenlittlejohns owenlittlejohns added the topic-DataTree Related to the implementation of a DataTree class label Aug 13, 2024
@owenlittlejohns owenlittlejohns changed the title Collapsible items in groups DataTree datatree: Collapsible items in groups DataTree Aug 13, 2024
@keewis keewis added enhancement topic-html-repr and removed needs triage Issue that has not been reviewed by xarray team member labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement topic-DataTree Related to the implementation of a DataTree class topic-html-repr
Projects
None yet
Development

No branches or pull requests

2 participants