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

DataTree: Auto-plotting capabilities #9270

Open
eschalkargans opened this issue Jul 23, 2024 · 0 comments
Open

DataTree: Auto-plotting capabilities #9270

eschalkargans opened this issue Jul 23, 2024 · 0 comments
Labels
enhancement topic-DataTree Related to the implementation of a DataTree class topic-plotting

Comments

@eschalkargans
Copy link

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

@TomNicholas TomNicholas added topic-plotting topic-DataTree Related to the implementation of a DataTree class labels Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement topic-DataTree Related to the implementation of a DataTree class topic-plotting
Projects
None yet
Development

No branches or pull requests

2 participants