home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 578179959

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/3722#issuecomment-578179959 https://api.github.com/repos/pydata/xarray/issues/3722 578179959 MDEyOklzc3VlQ29tbWVudDU3ODE3OTk1OQ== 2448579 2020-01-24T15:34:33Z 2020-01-24T15:34:33Z MEMBER

matplotlib can plot bool values so we should add that to the check in _ensure_plottable.

https://github.com/pydata/xarray/blob/ecd67f457240db5bc3316c092ca0bb3a134b4239/xarray/plot/utils.py#L528-L565

This should be an easy fix if you are up for it.

A workaround would be to do boolean_da.astype(np.int).plot()

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