pull_requests: 349974653
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
349974653 | MDExOlB1bGxSZXF1ZXN0MzQ5OTc0NjUz | 3601 | closed | 0 | Fix contourf set under | 3958036 | Copies the `cmap._rgba_bad`, `cmap._rgba_under`, and `cmap._rgba_over` values to `new_cmap`, in case they have been set to non-default values. Allows the user to customize plots more by using matplotlib methods on a `cmap` before passing as an argument to xarray's plotting methods. Previously these settings were overridden by defaults when creating the `cmap` actually used to make the plot. I'm not a fan of copying attributes one-by-one like this, but I guess this is an issue with matplotlib's API, unless there's a nicer way to convert a `cmap` to a discrete `cmap` than `mpl.colors.from_levels_and_colors()`. <!-- Feel free to remove check-list items aren't relevant to your change --> - [x] Closes #3590 - [x] Tests added - [x] Passes `black . && mypy . && flake8` | 2019-12-06T13:47:37Z | 2020-02-24T20:20:09Z | 2020-02-24T20:20:08Z | 2020-02-24T20:20:07Z | b14eea2f06bbcf1a02c4ae4cba9ed981aef69292 | 0 | 4fa6f8ecce70c427ca2c7c26fb3eb1c1d28a959b | f468a0676b2411a53e4bb94d67918092d06b50b8 | CONTRIBUTOR | 13221727 | https://github.com/pydata/xarray/pull/3601 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests