pydata / pydata/xarray

Add Dimension names to visualization in html repr

Open
#10,286 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement topic-html-repr
Dominant language
Python
Stars
4.2k
Forks
1.4k
Avg merge
2d 15h
Merged PRs (30d)
14

Description

Is your feature request related to a problem?

The dask array repr for a dataarray is pretty nice, but I think it would be even nicer if I could also see which dim was which on the chunk visualization

Describe the solution you'd like

Something like this:

Image
Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request concerns the DataArray dask array repr and its chunk visualization in the HTML repr. Start by locating the code that builds this visualization and review its existing tests, then add dimension names to the rendered chunk view and verify the HTML output matches the requested example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.