Title: [MNT]: Inconsistent use of "inherit" and "auto" for color fallback in rcParams · Issue #28154 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Inconsistent use of "inherit" and "auto" for color fallback in rcParams · Issue #28154 · matplotlib/matplotlib
X Title: [MNT]: Inconsistent use of "inherit" and "auto" for color fallback in rcParams · Issue #28154 · matplotlib/matplotlib
Description: Summary Some color rcParams that can fallback to another rcParam use "auto" to indicate that fallback (lines.markerface/edgecolor, boxplot.flierprops.markerfacecolor, axes.titlecolor, savefig.face/edgecolor), whereas others use "inherit"...
Open Graph Description: Summary Some color rcParams that can fallback to another rcParam use "auto" to indicate that fallback (lines.markerface/edgecolor, boxplot.flierprops.markerfacecolor, axes.titlecolor, savefig.face/...
X Description: Summary Some color rcParams that can fallback to another rcParam use "auto" to indicate that fallback (lines.markerface/edgecolor, boxplot.flierprops.markerfacecolor, axes.titlecolor, sav...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Inconsistent use of \"inherit\" and \"auto\" for color fallback in rcParams","articleBody":"### Summary\n\nSome color rcParams that can fallback to another rcParam use \"auto\" to indicate that fallback (lines.markerface/edgecolor, boxplot.flierprops.markerfacecolor, axes.titlecolor, savefig.face/edgecolor), whereas others use \"inherit\" (legend.face/edgecolor, x/ytick.labelcolor).\r\n\r\nThere's also legend.labelcolor, which uses \"None\", but that's a much more complicated case (#28153).\n\n### Proposed fix\n\nThis should be made consistent. Safest (and not really an issue) would be to just support \"auto\" and \"inherit\" with the same meaning for all those rcParams; it would also be possible to pick a single winner, use it consistently, and deprecate usage of the other, although I'm not really sure it's worth the annoyance.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2024-04-30T14:26:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/28154/matplotlib/issues/28154"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1b2857c4-0829-6ed6-89a9-a4cf1089f288 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD16:2BEA70:1D865E:27AE65:6A51D559 |
| html-safe-nonce | 5aba4787b82e2190b67bb3b83d185fa0a2c1179fc7c45df43abd531d84931491 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDE2OjJCRUE3MDoxRDg2NUU6MjdBRTY1OjZBNTFENTU5IiwidmlzaXRvcl9pZCI6IjIzNTM3NTc2NzA0NDY1ODUxNzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9d5f39427a123106ff273d98941ab22b8e9eebad00f54d1dffd96f3395a96703 |
| hovercard-subject-tag | issue:2271622137 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/28154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7349099da93e6b969539f631fff65886fb8441dcef392d330433273d9506253/matplotlib/matplotlib/issues/28154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7349099da93e6b969539f631fff65886fb8441dcef392d330433273d9506253/matplotlib/matplotlib/issues/28154 |
| og:image:alt | Summary Some color rcParams that can fallback to another rcParam use "auto" to indicate that fallback (lines.markerface/edgecolor, boxplot.flierprops.markerfacecolor, axes.titlecolor, savefig.face/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width