home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 361298500

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/1862#issuecomment-361298500 https://api.github.com/repos/pydata/xarray/issues/1862 361298500 MDEyOklzc3VlQ29tbWVudDM2MTI5ODUwMA== 1217238 2018-01-29T16:18:49Z 2018-01-29T16:18:49Z MEMBER

I think the behavior makes sense in 1d (pandas does the same linear interpolation I think)

I'm not so sure it makes sense in 1D, either. Most of the time I've wished that large gaps were replaced with empty gaps. I've learned to be suspicious of long straight lines.

One option would be to add a max_spacing argument to plot() that indicates a maximum "valid" spacing to plot continuously over. If a gap is larger than the spacing, then it would plotted empty instead.

Potentially we could even default to some heuristic choice for max_spacing, but I'm not sure exactly what that heuristic would be.

I'm also not entirely sure how to implement max_spacing for pcolormesh, contour or line plots. I suspect it would be impossible to do for imshow (but that's OK, imshow is only for completely regular data).

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