pull_requests: 1118192654
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1118192654 | PR_kwDOAMm_X85CpkQO | 7277 | closed | 0 | Require to explicitly defining optional dimensions such as hue and markersize | 14371165 | - [x] Closes #7314 - [x] Closes #7268 * Matplotlib adds default colors with `plt.plot(x, y)` when `y` is a 2D array. * Matplotlib prioritizes `c` over default colors with `plt.plot(x, y, c="blue")` when `y` is a 2D array. * Seaborn prioritizes `hue` over `c`, but all plot axes has to be explicit. The plot1d function now follows closer to seaborns example and require explicitly defining optional dimensions such as hue/markersize. Positives and negatives: +++ Reliable performance, won't accidentally choose large and heavy arrays to plot. \- Loss of dimension information for default values, will essentially flatten the n-dimensional arrays. \- Other xarray plot functions guesses quite a bit as well, API is not consistent. Required dimensions like the x-axis will still be guessed since the mpl errors weren't very intuitive. While at it: * Make it possible to prioritize certain mpl kwargs when hue/markersize isn't defined. * Fix integer coords in `plot1`d and facetgrid, use `.coords` instead of `getitem`. | 2022-11-10T19:23:28Z | 2023-02-11T20:55:16Z | 2023-02-11T20:55:16Z | 2023-02-11T20:55:16Z | 9ff932a564ec1e19918120bab0ec78f1f87df07b | 0 | bcdd8188d52b79f3316b626796b6a31dc0926945 | 7683442774c8036e0b13851df62bda067b2a65d5 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/7277 |
Links from other tables
- 4 rows from pull_requests_id in labels_pull_requests