home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 155820563

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/655#issuecomment-155820563 https://api.github.com/repos/pydata/xarray/issues/655 155820563 MDEyOklzc3VlQ29tbWVudDE1NTgyMDU2Mw== 10050469 2015-11-11T15:40:34Z 2015-11-11T15:41:16Z MEMBER

OK, so the test case would look like:

python data = np.linspace(0, 1, num=100) - 0.1 cmap_params = _determine_cmap_params(data, vmin=-0.1) self.assertEqual(cmap_params['vmin'], -0.1) self.assertEqual(cmap_params['vmax'], 0.1) self.assertEqual(cmap_params['cmap'], "RdBu_r")

This of course requires a bit more logic than the simple cases I handled in the first PR. I'll do my best.

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