Title: Incorrect alpha compositing using "matplotlib.pyplot.imshow". · Issue #9906 · matplotlib/matplotlib · GitHub
Open Graph Title: Incorrect alpha compositing using "matplotlib.pyplot.imshow". · Issue #9906 · matplotlib/matplotlib
X Title: Incorrect alpha compositing using "matplotlib.pyplot.imshow". · Issue #9906 · matplotlib/matplotlib
Description: Bug report Bug summary matplotlib.pyplot.imshow definition alpha compositing is incorrect, references #3343. Code for reproduction from matplotlib import pyplot as plt plt.figure(figsize=(8, 8)) RGBA = plt.imread('RGB_Droplet.png') plt.i...
Open Graph Description: Bug report Bug summary matplotlib.pyplot.imshow definition alpha compositing is incorrect, references #3343. Code for reproduction from matplotlib import pyplot as plt plt.figure(figsize=(8, 8)) RG...
X Description: Bug report Bug summary matplotlib.pyplot.imshow definition alpha compositing is incorrect, references #3343. Code for reproduction from matplotlib import pyplot as plt plt.figure(figsize=(8, 8)) RG...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9906
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect alpha compositing using \"matplotlib.pyplot.imshow\".","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\n`matplotlib.pyplot.imshow` definition alpha compositing is incorrect, references #3343.\r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nfrom matplotlib import pyplot as plt\r\n\r\nplt.figure(figsize=(8, 8))\r\nRGBA = plt.imread('RGB_Droplet.png')\r\nplt.imshow(RGBA)\r\nplt.show()\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\r\n\r\n**Expected outcome**\r\n\r\nComposited in The Foundry Nuke:\r\n\r\n\r\n\r\nThe images used are available here:\r\n\r\n- [RGB_Droplet.png](https://drive.google.com/file/d/1Ct7o2TPWc1giFWSTYa4O0oyRljSWihIO/view?usp=sharing)\r\n- [RGB_Droplet_Over_White_Reference.png](https://drive.google.com/file/d/1uIT496wEz1pHmqcLYdlu2Cq5OkzQBjUQ/view?usp=sharing)\r\n\r\n**Matplotlib version**\r\n * Operating system: `macOS`\r\n * Matplotlib version: `'2.1.0'`\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): `'module://ipykernel.pylab.backend_inline'`\r\n * Python version: `'2.7.13 |Continuum Analytics, Inc.| (default, Dec 20 2016, 23:05:08) \\n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]'`\r\n * Jupyter version (if applicable): `notebook 5.0.0 py27_0`\r\n","author":{"url":"https://github.com/thomasmansencal","@type":"Person","name":"thomasmansencal"},"datePublished":"2017-12-01T20:35:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/9906/matplotlib/issues/9906"}
| 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:1ec1790b-6a24-9132-db0f-962055377ff9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF52:12D35A:25EC4C:335CD3:6A526CF1 |
| html-safe-nonce | fbe632e96b22fac5ca3510e956f89e32e0102afd414f47b69c49c9ff931575ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjUyOjEyRDM1QToyNUVDNEM6MzM1Q0QzOjZBNTI2Q0YxIiwidmlzaXRvcl9pZCI6IjU5MjI4NzM0MTQ2NTg0NTI3MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c4101a49e93ab0f308348abbf422918f1ad81f8c87d4458a2fbc66d6c4e87f3e |
| hovercard-subject-tag | issue:278588666 |
| 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/9906/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85fbdc57f4d333316dbf5a0757c5f97d79b782b7221e3775018f513f78e85fe0/matplotlib/matplotlib/issues/9906 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85fbdc57f4d333316dbf5a0757c5f97d79b782b7221e3775018f513f78e85fe0/matplotlib/matplotlib/issues/9906 |
| og:image:alt | Bug report Bug summary matplotlib.pyplot.imshow definition alpha compositing is incorrect, references #3343. Code for reproduction from matplotlib import pyplot as plt plt.figure(figsize=(8, 8)) RG... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thomasmansencal |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width