Title: [Bug]: diagonal lines in pcolormesh with Gouraud shading and transparency · Issue #27016 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: diagonal lines in pcolormesh with Gouraud shading and transparency · Issue #27016 · matplotlib/matplotlib
X Title: [Bug]: diagonal lines in pcolormesh with Gouraud shading and transparency · Issue #27016 · matplotlib/matplotlib
Description: Bug summary Diagonal and box lines are produced by pcolormesh using a cmap with transparency. Code for reproduction import matplotlib.colors as m_colors import matplotlib.pyplot as plt import numpy as np plt.pcolormesh(np.array([[0, 1, 2...
Open Graph Description: Bug summary Diagonal and box lines are produced by pcolormesh using a cmap with transparency. Code for reproduction import matplotlib.colors as m_colors import matplotlib.pyplot as plt import numpy...
X Description: Bug summary Diagonal and box lines are produced by pcolormesh using a cmap with transparency. Code for reproduction import matplotlib.colors as m_colors import matplotlib.pyplot as plt import numpy...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27016
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: diagonal lines in pcolormesh with Gouraud shading and transparency","articleBody":"### Bug summary\n\nDiagonal and box lines are produced by `pcolormesh` using a cmap with transparency.\r\n\n\n### Code for reproduction\n\n```python\nimport matplotlib.colors as m_colors\r\nimport matplotlib.pyplot as plt\r\nimport numpy as np\r\nplt.pcolormesh(np.array([[0, 1, 2], [0, 1, 2]]),\r\n np.array([[0, 0, 0], [1, 1, 1]]),\r\n np.array([[0, 1, 2], [0, 1, 2]]),\r\n cmap=m_colors.LinearSegmentedColormap.from_list(\r\n \"\", [(0, 0, 0, 0), (0, 0, 0, 1)]),\r\n shading=\"gouraud\")\r\nplt.plot()\n```\n\n\n### Actual outcome\n\n\r\n\n\n### Expected outcome\n\nNo diagonal or box lines should appear.\n\n### Additional information\n\n_No response_\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\n3.6.2\n\n### Matplotlib Backend\n\nQtAgg\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/limwz01","@type":"Person","name":"limwz01"},"datePublished":"2023-10-06T13:45:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/27016/matplotlib/issues/27016"}
| 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:7343a946-6902-4f4d-128f-3f7627723d8b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6E0:25680F:9AC390:D55550:6A5200C3 |
| html-safe-nonce | 1ddd1c0b3e6320b37f7f904908dc95e62a638105165b1f48819430b1b3fa05cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkUwOjI1NjgwRjo5QUMzOTA6RDU1NTUwOjZBNTIwMEMzIiwidmlzaXRvcl9pZCI6IjgxOTEzNDQyNTk4NjcyMTQwMjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e15de7b103b7a9b22a68851cba0b4b657b009b4df36be8dd8513efd1059c27a7 |
| hovercard-subject-tag | issue:1930217081 |
| 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/27016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b3a7d8adf1b5382c5536409ade8aeaec3fe3d913e00dad391c159622f3016b1/matplotlib/matplotlib/issues/27016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b3a7d8adf1b5382c5536409ade8aeaec3fe3d913e00dad391c159622f3016b1/matplotlib/matplotlib/issues/27016 |
| og:image:alt | Bug summary Diagonal and box lines are produced by pcolormesh using a cmap with transparency. Code for reproduction import matplotlib.colors as m_colors import matplotlib.pyplot as plt import numpy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | limwz01 |
| 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