home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 984071123

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/5622#issuecomment-984071123 https://api.github.com/repos/pydata/xarray/issues/5622 984071123 IC_kwDOAMm_X846p7vT 14371165 2021-12-01T21:29:42Z 2021-12-01T21:40:17Z MEMBER

Not sure if this is too naïve from my side but can you just pass N+1 levels to the function?

Pretty much what I did. ["a", "b", "c"] is converted to [1, 3, 5]. The discrete colors/levels are bounded by [(0, 2), (2, 4), (4, 6)]. This way the ticks will be put nicely in the middle of the discrete color.

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