home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 887055377

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-887055377 https://api.github.com/repos/pydata/xarray/issues/5622 887055377 IC_kwDOAMm_X84032QR 14371165 2021-07-26T22:00:14Z 2021-07-26T22:00:14Z MEMBER

The scatter tests doesn't seem to make sure x,y values are plotted as expected. I was testing the test cases for other reasons and noticed that the x and values were opposite. You can check the x and y values are returned in the expected order with something like this: python fig, ax = plt.subplots(1,1) p = ax.plot([1, 2], [3, 4]) p[0].get_data() Out[12]: (array([1, 2]), array([3, 4])) Something similar can probably be done with hue and size as well so there shouldn't be any need for the tricky display tests.

{
    "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.754ms · About: xarray-datasette