Title: Alpha parameter doesn't work in bar3d · Issue #9559 · matplotlib/matplotlib · GitHub
Open Graph Title: Alpha parameter doesn't work in bar3d · Issue #9559 · matplotlib/matplotlib
X Title: Alpha parameter doesn't work in bar3d · Issue #9559 · matplotlib/matplotlib
Description: Bug report I have the same problem than on this Stackoverflow webpage : Code for reproduction from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt def main(): plt.ion() rho = np.random.random((4,4)) ...
Open Graph Description: Bug report I have the same problem than on this Stackoverflow webpage : Code for reproduction from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt def main(): ...
X Description: Bug report I have the same problem than on this Stackoverflow webpage : Code for reproduction from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt def main(): ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9559
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Alpha parameter doesn't work in bar3d","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### Bug report\r\n\r\nI have the same problem than on this [Stackoverflow webpage](https://stackoverflow.com/questions/43670867/matplotlib-alpha-transparency-parameter-doesnt-work) : \r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n```python\r\nfrom mpl_toolkits.mplot3d import Axes3D\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\ndef main():\r\n\tplt.ion()\r\n\trho = np.random.random((4,4))\r\n\txpos = np.arange(0,4,1)\r\n\typos = np.arange(0,4,1)\r\n\txpos, ypos = np.meshgrid(xpos, ypos)\r\n\txpos = xpos.flatten()\r\n\typos = ypos.flatten()\r\n\tzpos = np.zeros(4*4)\r\n\tdx = 0.5 * np.ones_like(zpos)\r\n\tdy = dx.copy()\r\n\tdz = rho.flatten()\r\n\talpha = 0.5\r\n\tfig = plt.figure()\r\n\tax = fig.gca(projection='3d')\r\n\tax.bar3d(xpos,ypos,zpos, dx, dy, dz, alpha=alpha, linewidth=0)\r\n\tplt.show()\r\n\tinput(\"Press Enter to continue...\")\r\n\r\nif __name__ == '__main__':\r\n\tmain()\r\n\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\nThe bar on the plot are not transparent at all but they should be.\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Ubuntu 16.04\r\n * Matplotlib version: 2.0.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg\r\n * Python version: 3.6\r\n\r\nMatplotlib have been installerd from conda.\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/ngonthier","@type":"Person","name":"ngonthier"},"datePublished":"2017-10-24T15:36:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/9559/matplotlib/issues/9559"}
| 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:3239e999-fe8d-4000-c75a-be3e20d41029 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AABE:277D93:B15187:F15CE9:6A555811 |
| html-safe-nonce | d9d903731ff60b60cfbc6121e026196f12ff52d240a21a4ac59d9f8de748c3e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUJFOjI3N0Q5MzpCMTUxODc6RjE1Q0U5OjZBNTU1ODExIiwidmlzaXRvcl9pZCI6IjE5Mjc1Nzc1MTc3NjM2ODY1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 88f548fbb088c961252d97f622cd089d697421a27dada40bb61276d341e833bd |
| hovercard-subject-tag | issue:268081311 |
| 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/9559/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a0f92a654b82787432abe5c4e8a405ee9b94f77f196e41b45a975fe204eb1c2a/matplotlib/matplotlib/issues/9559 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a0f92a654b82787432abe5c4e8a405ee9b94f77f196e41b45a975fe204eb1c2a/matplotlib/matplotlib/issues/9559 |
| og:image:alt | Bug report I have the same problem than on this Stackoverflow webpage : Code for reproduction from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt def main(): ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ngonthier |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 73595e82546ca2415571a2031890ab16ecb3001a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width