Skip to content

Pre-expand data and attributes in DataArray/Variable HTML repr? #4176

Closed
@shoyer

Description

@shoyer

Proposal

Given that a major purpose for plotting an array is to look at data or attributes, I wonder if we should expand these sections by default?

  • I worry that clicking on icons to expand sections may not be easy to discover
  • This would also be consistent with the text repr, which shows these sections by default (the Dataset repr is already consistent by default between text and HTML already)

Context

Currently the HTML repr for DataArray/Variable looks like this:
image

To see array data, you have to click on the image icon:
image

(thanks to @max-sixty for making this a little bit more manageably sized in #3905!)

There's also a really nice repr for nested dask arrays:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions