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

HTML repr for ManifestArray? #59

Open
TomNicholas opened this issue Mar 27, 2024 · 4 comments
Open

HTML repr for ManifestArray? #59

TomNicholas opened this issue Mar 27, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@TomNicholas
Copy link
Collaborator

HTML reprs are cool. We could make one for ManifestArray, by stealing the code used for the dask.Array (or cubed.Array) repr. It might help with visualising the chunking pattern, and provide more places we can display attributes like the compression codecs.

Should probably wait until #33 to guarantee that the chunks actually form a complete grid.

@TomNicholas TomNicholas added the enhancement New feature or request label Mar 27, 2024
@rabernat
Copy link
Collaborator

For that matter, we could also have this for a regular Zarr array, no?

@jsignell
Copy link
Contributor

jsignell commented May 3, 2024

Is html still the way or do people prefer to lean on rich these days?

@TomNicholas
Copy link
Collaborator Author

I don't know anything about rich, but I think xarray is still using HTML right?

@jsignell
Copy link
Contributor

jsignell commented May 3, 2024

I don't know anything about rich, but I think xarray is still using HTML right?

It is.

I did a little digging to try to turn up some rich work that was happening in dask world a few years back but didn't find what I was looking for.

I suppose that the benefit of the pure css + html approach is that (at least in theory) it works everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants