Title: [ENH]: Add additive blending using plot alpha attribute · Issue #23240 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Add additive blending using plot alpha attribute · Issue #23240 · matplotlib/matplotlib
X Title: [ENH]: Add additive blending using plot alpha attribute · Issue #23240 · matplotlib/matplotlib
Description: Problem While using line plots, the alpha attribute is unable to use the transparency for visualizing the density of lines along the line of sight. Consider the following sample code: import numpy as np import matplotlib.pyplot as plt ax...
Open Graph Description: Problem While using line plots, the alpha attribute is unable to use the transparency for visualizing the density of lines along the line of sight. Consider the following sample code: import numpy ...
X Description: Problem While using line plots, the alpha attribute is unable to use the transparency for visualizing the density of lines along the line of sight. Consider the following sample code: import numpy ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23240
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Add additive blending using plot alpha attribute","articleBody":"### Problem\n\nWhile using line plots, the alpha attribute is unable to use the transparency for visualizing the density of lines along the line of sight.\r\nConsider the following sample code:\r\n```python\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\nax = plt.axes(projection='3d')\r\nx = np.arange(0, np.pi*20, .1)\r\nax.plot(np.sin(x), np.cos(x), x, c=[.8, .8, .8], linewidth=4, alpha=.5)\r\nplt.show()\r\n```\r\nWhich currently gives this: \r\n\r\n\r\nWhereas on MATLAB, we get this (notice the additive blending of colors in intersections):\r\n\r\n\n\n### Proposed solution\n\nMaybe add additive blending in the same group.\r\n","author":{"url":"https://github.com/kushaangupta","@type":"Person","name":"kushaangupta"},"datePublished":"2022-06-10T21:01:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/23240/matplotlib/issues/23240"}
| 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:a4647b3b-6466-9d22-85ec-4b0b32c8c96f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF46:34F6B9:428C07:57F409:6A51C531 |
| html-safe-nonce | fa9bb1f8398ac1db91bf29ed22d57b569935c5f70dd040c0ef836144439905f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQ2OjM0RjZCOTo0MjhDMDc6NTdGNDA5OjZBNTFDNTMxIiwidmlzaXRvcl9pZCI6IjEzOTY5NzU1MjM5NzI4OTE5NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 09151c2cde9d03222be14f7b770cc64cfbd4674e9d4548a851bb6810759f3094 |
| hovercard-subject-tag | issue:1268023278 |
| 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/23240/issue_layout |
| twitter:image | https://opengraph.githubassets.com/746b62897cb2a56ae46279135c9038c8a106fb7f9d803e05517d9d26bc764494/matplotlib/matplotlib/issues/23240 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/746b62897cb2a56ae46279135c9038c8a106fb7f9d803e05517d9d26bc764494/matplotlib/matplotlib/issues/23240 |
| og:image:alt | Problem While using line plots, the alpha attribute is unable to use the transparency for visualizing the density of lines along the line of sight. Consider the following sample code: import numpy ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kushaangupta |
| 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