home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 411755105

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
411755105 MDExOlB1bGxSZXF1ZXN0MjU0MTIyNTUw 2777 Improved default behavior when concatenating DataArrays 12229877 closed 0     14 2019-02-19T05:43:44Z 2019-03-03T22:20:01Z 2019-03-03T22:20:01Z CONTRIBUTOR   0 pydata/xarray/pulls/2777
  • [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:

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2777/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 14 rows from issue in issue_comments
Powered by Datasette · Queries took 2.914ms · About: xarray-datasette