Skip to content

DataTree: Auto-plotting capabilities #9270

@eschalkargans

Description

@eschalkargans

Is your feature request related to a problem?

Xarray is already capable of smart plotting data arrays and in some extents, datasets.

Xarray has limited support for plotting Dataset variables against each other.

https://docs.xarray.dev/en/latest/user-guide/plotting.html

Describe the solution you'd like

The rich display tree structure could be reused with a default .plot() call inside of it, for example.

However, it is also a change that would concern Datasets themselves as there is no way currently plot all the variables of a Dataset.

Experience feedback: oftentimes I convert a Dataset to a DataArray with ds.to_array() for plotting with facets. This is possible when variables of the dataset have the same dimensions.

Describe alternatives you've considered

Making visualization functions myself. However, the capacity to "just plot" data is often welcomed!

Additional context

Issue content taken from xarray-contrib/datatree#336

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy