Title: Unable to use 'ds' keyword in plt.errorbar · Issue #20137 · matplotlib/matplotlib · GitHub
Open Graph Title: Unable to use 'ds' keyword in plt.errorbar · Issue #20137 · matplotlib/matplotlib
X Title: Unable to use 'ds' keyword in plt.errorbar · Issue #20137 · matplotlib/matplotlib
Description: Bug report Bug summary In version 3.4.1, passing the 'ds' kwarg to plt.errorbar results in an attribute error. Code for reproduction from matplotlib import pyplot as plt plt.errorbar(x=[1, 2], y=[1, 2], yerr=[1, 2], ds='steps-mid') Actua...
Open Graph Description: Bug report Bug summary In version 3.4.1, passing the 'ds' kwarg to plt.errorbar results in an attribute error. Code for reproduction from matplotlib import pyplot as plt plt.errorbar(x=[1, 2], y=[1...
X Description: Bug report Bug summary In version 3.4.1, passing the 'ds' kwarg to plt.errorbar results in an attribute error. Code for reproduction from matplotlib import pyplot as plt plt.errorbar(x=[1, ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/20137
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to use 'ds' keyword in plt.errorbar","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\n**Bug summary**\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\nIn version 3.4.1, passing the 'ds' kwarg to plt.errorbar results in an attribute error. \r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug.\r\nPlease make sure to minimize the number of dependencies required, and provide\r\nany necessary plotted data.\r\nAvoid using threads, as Matplotlib is (explicitly) not thread-safe.--\u003e\r\n\r\n```python\r\nfrom matplotlib import pyplot as plt\r\nplt.errorbar(x=[1, 2], y=[1, 2], yerr=[1, 2], ds='steps-mid')\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\n```\r\nAttributeError: 'LineCollection' object has no property 'drawstyle'\r\n```\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: Catalina (10.15.7) \r\n * Matplotlib version: 3.4.1 \r\n * Matplotlib backend: MacOSX \r\n * Python version: 3.8.8\r\n * Other libraries: Fresh conda environment \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\nInstalled matplotlib via conda using the default channel.\r\n","author":{"url":"https://github.com/jeffburggraf","@type":"Person","name":"jeffburggraf"},"datePublished":"2021-05-02T23:47:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/20137/matplotlib/issues/20137"}
| 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:51139589-ef11-61bf-9824-fc904fc91518 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCDE:217CF9:E1B13E:13123DF:6A5392DD |
| html-safe-nonce | 00c55cd195632aa03d7c4bcae40e75833ba17bfa30a161f4562f18632882b3ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0RFOjIxN0NGOTpFMUIxM0U6MTMxMjNERjo2QTUzOTJERCIsInZpc2l0b3JfaWQiOiI2ODM1MDI5MDgxNDAwMjUxMTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | abf8ead3a625f7263c7dd49c3680af0935d2e95df207dc8eba327ae92669e44a |
| hovercard-subject-tag | issue:874116875 |
| 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/20137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/573ac95e70638c5f53d7fef6a5dcaf3eddd70db51722aa63fdcfd8a422281f40/matplotlib/matplotlib/issues/20137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/573ac95e70638c5f53d7fef6a5dcaf3eddd70db51722aa63fdcfd8a422281f40/matplotlib/matplotlib/issues/20137 |
| og:image:alt | Bug report Bug summary In version 3.4.1, passing the 'ds' kwarg to plt.errorbar results in an attribute error. Code for reproduction from matplotlib import pyplot as plt plt.errorbar(x=[1, 2], y=[1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeffburggraf |
| 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