issues: 323359733
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
323359733 | MDU6SXNzdWUzMjMzNTk3MzM= | 2135 | use CF conventions to enhance plot labels | 1197350 | closed | 0 | 4 | 2018-05-15T19:53:51Z | 2018-06-02T00:10:26Z | 2018-06-02T00:10:26Z | MEMBER | Elsewhere in xarray we use CF conventions to help with automatic decoding of datasets. Here I propose we consider using CF metadata conventions to improve the automatic labelling of plots. If datasets declare Code Sample, a copy-pastable example if possibleHere I create some data with relevant attributes
Problem descriptionWe have neglected the variable attributes, which would provide better axis labels. Expected OutputConsider this instead:
I feel like this would be a sensible default. But it would be a breaking change. We could make it optional with a keyword like Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2135/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |