issues: 295498327
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
295498327 | MDU6SXNzdWUyOTU0OTgzMjc= | 1896 | _color_palette not using full range of colors if seaborn is installed | 10194086 | closed | 0 | 2 | 2018-02-08T12:43:45Z | 2018-02-16T21:08:32Z | 2018-02-16T21:08:32Z | MEMBER |
if seaborn is installed, and 1.00, ... 0.58, ... 0.00, ... otherwise Problem descriptionthe return value of The relevant code is here: https://github.com/pydata/xarray/blob/6aa225f5dae9cc997e232c11a63072923c8c0238/xarray/plot/utils.py#L115 https://github.com/pydata/xarray/blob/6aa225f5dae9cc997e232c11a63072923c8c0238/xarray/plot/utils.py#L143 The same logic in seaborn https://github.com/mwaskom/seaborn/blob/0beede57152ce80ce1d4ef5d0c0f1cb61d118375/seaborn/palettes.py#L411 Intuitively I prefer the xarray solution because this uses the full range of colors which I find beneficial, however there may be a reason for this I'm not aware of. Maybe @mwaskom will answer: mwaskom/seaborn#1372 Expected OutputOutput of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |