Title: plt.stackplot() does not work with 3.0.0 · Issue #12405 · matplotlib/matplotlib · GitHub
Open Graph Title: plt.stackplot() does not work with 3.0.0 · Issue #12405 · matplotlib/matplotlib
X Title: plt.stackplot() does not work with 3.0.0 · Issue #12405 · matplotlib/matplotlib
Description: Bug report Something now breaks this code that used to work. Now, I have to call plt.subplots first and use stackplot on an axis object. TypeError: stackplot() got multiple values for argument 'x' from matplotlib import pyplot as plt plt...
Open Graph Description: Bug report Something now breaks this code that used to work. Now, I have to call plt.subplots first and use stackplot on an axis object. TypeError: stackplot() got multiple values for argument 'x' ...
X Description: Bug report Something now breaks this code that used to work. Now, I have to call plt.subplots first and use stackplot on an axis object. TypeError: stackplot() got multiple values for argument '...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12405
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"plt.stackplot() does not work with 3.0.0","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\nSomething now breaks this code that used to work. Now, I have to call plt.subplots first and use stackplot on an axis object. \r\n\r\nTypeError: stackplot() got multiple values for argument 'x'\r\n\r\n```python\r\nfrom matplotlib import pyplot as plt\r\nplt.stackplot([1,2,3], [1,2,3]) \r\n```\r\n\r\nShould be equivalent to \r\n```python\r\n\r\nfig, ax = plt.subplots()\r\nax.stackplot([1,2,3], [1,2,3]) \r\n```\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:\r\n * Matplotlib version: 3.0.0\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): 'module://ipykernel.pylab.backend_inline'\r\n * Python version: 3.6.6\r\n * Jupyter version (if applicable): 4.4.0\r\n * Other libraries: \r\n\r\nInstalled matplotlib using conda with default channel.\r\n\r\n","author":{"url":"https://github.com/sorenwacker","@type":"Person","name":"sorenwacker"},"datePublished":"2018-10-04T18:39:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/12405/matplotlib/issues/12405"}
| 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:2ad1d50a-e2c9-3a8f-5f3e-25d570e3a01a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D18:1D5589:16074DD:1D6D371:6A52B618 |
| html-safe-nonce | e09512a87fd758db6abe5d0377e4b8eafdcad74b6ce6c1314afdbde1fd0fe87a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDE4OjFENTU4OToxNjA3NEREOjFENkQzNzE6NkE1MkI2MTgiLCJ2aXNpdG9yX2lkIjoiNTgxNzE1NjIwNDg3MTQ2NDQ3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e8a904ae708805491994efcc6eea00b928291e0ab96e1ba8c9e5b9468780eaa9 |
| hovercard-subject-tag | issue:366918857 |
| 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/12405/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b664d41599e42d9d4011ab4c48111975b4fddd0736fdbaf98356b0217e209b01/matplotlib/matplotlib/issues/12405 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b664d41599e42d9d4011ab4c48111975b4fddd0736fdbaf98356b0217e209b01/matplotlib/matplotlib/issues/12405 |
| og:image:alt | Bug report Something now breaks this code that used to work. Now, I have to call plt.subplots first and use stackplot on an axis object. TypeError: stackplot() got multiple values for argument 'x' ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sorenwacker |
| 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