issues: 433671971
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
433671971 | MDU6SXNzdWU0MzM2NzE5NzE= | 2898 | Plotting with timedelta64 axis | 4301021 | open | 0 | 1 | 2019-04-16T09:20:22Z | 2019-05-10T19:49:38Z | NONE | Pandas plotting has nice handling of timedelta64 axes - xarray seems to just plot these as integer nanoseconds. Would be great to have this functionality in xarray: ``` data = xr.DataArray(np.random.random(100), coords=[('td', np.arange(np.timedelta64(0), np.timedelta64(10, 'h'), np.timedelta64(6, 'm')))]) data.plot.line(x='td') plt.figure() data.to_pandas().plot() ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |