home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 130398680

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/519#issuecomment-130398680 https://api.github.com/repos/pydata/xarray/issues/519 130398680 MDEyOklzc3VlQ29tbWVudDEzMDM5ODY4MA== 5356122 2015-08-12T18:15:22Z 2015-08-12T18:15:22Z MEMBER

Maybe we should restrict squeezing the data to only the magic DataArray.plot() method?

Works for me. The error message should be informative enough in the other cases.

Scalar coordinates- this is the current behavior:

``` In [16]: a = xray.DataArray(np.random.randn(3, 4))

In [17]: a.coords['foo'] = 123

In [18]: a.plot() ```

So scalar coordinates do show up in the title, which is what I was going for. I could add a test for this.

labelling facets will be more reliable if it is done explicitly in the same code that is doing the indexing/groupby.

That's the approach that I've moved to after spending more time on it. This PR adds the argument add_labels to 2d plotting functions. Now for the faceting I'll actually use add_labels=False.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  99547211
Powered by Datasette · Queries took 158.37ms · About: xarray-datasette