home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 425809848

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/2381#issuecomment-425809848 https://api.github.com/repos/pydata/xarray/issues/2381 425809848 MDEyOklzc3VlQ29tbWVudDQyNTgwOTg0OA== 1186928 2018-10-01T07:12:13Z 2018-10-01T07:25:47Z CONTRIBUTOR

@dcherian Thanks! This works for me.

I appreciate that my current code using the workaround plot(norm=norm, vmin=norm.vmin, ...) still works. To be fully consistent I suggest to replace the error message Cannot supply vmin and a norm with vmin with Cannot supply vmin and a norm with a different vmin (idem with vmax).

Edit: I just checked that matplotlib's imshow accepts imshow(norm=norm, vmin=vmin, vmax=vmax), with the user-provided vmin taking precedence over the norm. So I'm not sure that xarray need to raise an error here.

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