home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 351675151

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/issues/1780#issuecomment-351675151 https://api.github.com/repos/pydata/xarray/issues/1780 351675151 MDEyOklzc3VlQ29tbWVudDM1MTY3NTE1MQ== 12229877 2017-12-14T10:45:31Z 2017-12-14T10:45:31Z CONTRIBUTOR

I'd argue that Xarray should handle these cases - it already does for lower dimensions, eg xr.DataArray(np.full(1, np.nan)).plot() works, and this would be really nice for exploratory analysis as well as consistency.

This is sufficiently annoying to my research group that I'm willing to write the patch, if that helps! I also have some ideas for tests using Hypothesis to ferret out some other problems - for example there's a similar failure if plotting an array with size one in some dimension.

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