home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 657769716

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
657769716 MDU6SXNzdWU2NTc3Njk3MTY= 4229 FR: Provide option for collapsing the HTML display in notebooks 69774 closed 0     1 2020-07-16T01:27:15Z 2021-04-27T01:37:54Z 2021-04-27T01:37:54Z NONE      

Issue description

The overly long output of the text repr of xarray always bugged so I was very happy that the recently implemented html repr collapsed the data part, and equally sad to see that 0.16.0 reverted that, IMHO, correct design implementation back, presumably to align it with the text repr.

Suggested solution

As the opinions will vary on what a good repr should do, similar to existing xarray.set_options I would like to have an option that let's me control if the data part (and maybe other parts?) appear in a collapsed fashion for the html repr.

Additional questions

  • Is it worth considering this as well for the text repr? Or is that harder to implement?

Any guidance on * which files need to change * potential pitfalls

would be welcome. I'm happy to work on this, as I seem to be the only one not liking the current implementation.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4229/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 1.534ms · About: xarray-datasette