home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1448588687

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/7014#issuecomment-1448588687 https://api.github.com/repos/pydata/xarray/issues/7014 1448588687 IC_kwDOAMm_X85WV7WP 19285200 2023-02-28T17:33:46Z 2023-02-28T17:34:24Z NONE

@veenstrajelmer I am not sure I understand what you are saying. In the example I pass only norm to the plotting function ... As suggested by @kmuehlbauer the solution to this issue is to specify the extend argument in both the plotting call and cbar_kwargs. In the example, extend was only defined in cbar_kwargs (since is an argument also of mpl.Figure.colorbar). Likely we should align the arguments somewhere in the code with something like this:

if extend is None and cbar_kwargs.get("extend) is not None: extend = cbar_kwargs.get("extend) if extend is not None and "extend" not in cbar_kwargs cbar_kwargs["extend"] = extend

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