home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1447057892

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/7552#issuecomment-1447057892 https://api.github.com/repos/pydata/xarray/issues/7552 1447057892 IC_kwDOAMm_X85WQFnk 43316012 2023-02-27T20:43:00Z 2023-02-27T20:48:19Z COLLABORATOR

This is caused by the squeeze() here: https://github.com/pydata/xarray/blob/41949209b6cfb0d5c25d000b1e0c5739b513385c/xarray/plot/dataarray_plot.py#L267

@Illviljan do you know why this is required? I assume you want to remove singleton dimensions to better choose the correct plot method?

Maybe we should exclude col, row dims from the squeeze? something like: darray.squeeze(d for d, s in darray.sizes.items() if s == 1 and d not in (row, col, hue))

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