Skip to content

Ensure that xarray dataset metadata propagates to NdOverlays#930

Merged
philippjfr merged 3 commits into
masterfrom
attrs_redim
Oct 12, 2022
Merged

Ensure that xarray dataset metadata propagates to NdOverlays#930
philippjfr merged 3 commits into
masterfrom
attrs_redim

Conversation

@hoxbro

@hoxbro hoxbro commented Oct 11, 2022

Copy link
Copy Markdown
Member

Fixes #816

With this change, the xarray dataset metadata propagates to NdOverlay figures. This will give more descriptive information like the xlabel in the example below, where it before only showed t.

image

The added .redim could be placed on the line above or below, but I can´t think of a reason why one of them is better than the other.

@hoxbro hoxbro changed the title Redim charts for attribute access Ensure that xarray dataset metadata propagates to NdOverlays Oct 12, 2022
@philippjfr

Copy link
Copy Markdown
Member

Looks good!

@philippjfr philippjfr merged commit fc46073 into master Oct 12, 2022
@philippjfr philippjfr deleted the attrs_redim branch October 12, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coordinate label of a multi-element chart from an xarray Dataset lacks long name and units

2 participants