Title: ENH: Improved color Manipulation tools · Issue #9995 · matplotlib/matplotlib · GitHub
Open Graph Title: ENH: Improved color Manipulation tools · Issue #9995 · matplotlib/matplotlib
X Title: ENH: Improved color Manipulation tools · Issue #9995 · matplotlib/matplotlib
Description: Feature suggestion In #9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to RGB. There was general disagreement abo...
Open Graph Description: Feature suggestion In #9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to...
X Description: Feature suggestion In #9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9995
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ENH: Improved color Manipulation tools","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Feature suggestion\r\n\r\nIn #9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to RGB. \r\n\r\nThere was general disagreement about how exactly to do the brightening, (fractional: L*(1+frac), absolute: L + dL, or simply specifying L), the lack of a `rgb_to_hls` converter was lamented (to mirror the `rgb_to_hsv` converter, and it was suggested that a color class that simply had methods to change channels in the various color spaces would be the better approach. \r\n\r\nWriting such a class was beyond the scope proposed in #9985, hence this issue for discussion. I'd imagine such a `color` class would require a MEP.\r\n\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2017-12-13T18:46:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/9995/matplotlib/issues/9995"}
| 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:34f89b5d-1c60-bda5-737e-91acfd70eaac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4CC:24B6E3:8B890:BE44B:6A52529F |
| html-safe-nonce | f32f747875a8dd7dff9f3f3f836ad0fc7625c5d98d35bddca204d3ab1485bcc3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNENDOjI0QjZFMzo4Qjg5MDpCRTQ0Qjo2QTUyNTI5RiIsInZpc2l0b3JfaWQiOiI3MTY3NDU2MzkzMzA5NjA2NTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 42df740d12bad4824710d27251825417d08e87e5f829c509dce8446a99b2b60f |
| hovercard-subject-tag | issue:281855707 |
| 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/9995/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b83cb567d05ea589220d528e57ec38544c05765054327164b9e694653fc0978d/matplotlib/matplotlib/issues/9995 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b83cb567d05ea589220d528e57ec38544c05765054327164b9e694653fc0978d/matplotlib/matplotlib/issues/9995 |
| og:image:alt | Feature suggestion In #9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| 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