pull_requests: 254122550
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
254122550 | MDExOlB1bGxSZXF1ZXN0MjU0MTIyNTUw | 2777 | closed | 0 | Improved default behavior when concatenating DataArrays | 12229877 | - [x] Closes #2775 - [x] Tests added - [x] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API This is really nice to have when producing faceted plots of satellite observations in various bands, and should be somewhere between useful and harmless in other cases. Example code: ```python ds = xr.Dataset({ k: xr.DataArray(np.random.random((2, 2)), dims="x y".split(), name=k) for k in "blue green red".split() }) xr.concat([ds.blue, ds.green, ds.red], dim="band").plot.imshow(col="band") ``` Before - facets have an index, colorbar has misleading label:  After - facets have meaningful labels, colorbar has no label:  | 2019-02-19T05:43:44Z | 2019-03-03T22:20:01Z | 2019-03-03T22:20:01Z | 155f6025b7d18e00dc3414b3398ad91be6a44913 | 0 | 63da214d697345ebdd0ecc0967c72eafc70bcb0d | 612d390f925e5490314c363e5e368b2a8bd5daf0 | CONTRIBUTOR | 13221727 | https://github.com/pydata/xarray/pull/2777 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests