Title: [ENH]: Negative errors in errorbar() · Issue #26187 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Negative errors in errorbar() · Issue #26187 · matplotlib/matplotlib
X Title: [ENH]: Negative errors in errorbar() · Issue #26187 · matplotlib/matplotlib
Description: Update: See summary in #26187 (comment) Problem In #21266 (v3.6) we prohibited negative errors to bring the behavior in line with the documentation. I've got the request to again support negative errors, so that the error bar can be deta...
Open Graph Description: Update: See summary in #26187 (comment) Problem In #21266 (v3.6) we prohibited negative errors to bring the behavior in line with the documentation. I've got the request to again support negative e...
X Description: Update: See summary in #26187 (comment) Problem In #21266 (v3.6) we prohibited negative errors to bring the behavior in line with the documentation. I've got the request to again support negati...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Negative errors in errorbar()","articleBody":"**Update: See summary in https://github.com/matplotlib/matplotlib/issues/26187#issuecomment-1609533022**\r\n\r\n---\r\n\r\n\r\n### Problem\r\n\r\nIn https://github.com/matplotlib/matplotlib/pull/21266 (v3.6) we prohibited negative errors to bring the behavior in line with the documentation.\r\n\r\nI've got the request to again support negative errors, so that the error bar can be detached from the marker. There seem to be cases where users exactly want this behavior, e.g.\r\n\r\n\r\n\r\n\r\n\r\n### Proposed solution\r\n\r\nI think we should support this somehow. Possibilities:\r\n\r\n- Revert to the old behavior and adjust the documentation accordingly. I'm not clear whether not allowing negative errors was really a conscious decision or whether we were only making the code behave according to the documentation. - Technically, negative errors are perfictly fine. The only justification I see for the positive error limitation is to enforce a more narrow semantics that errors are usually positive and we want to guard users against accidental negative errors. \r\n- Alternatively, we could introduce an explicit `allow_negative_errors` flag.\r\n\r\nChoosing between those, I'm inclined to say that the flag feels a bit cumbersome and we can assume that users are responsible enough to handle their data without us needing to enforce negative errors. After all, even if they are undesired, it should be relatively easy to spot and find out the reason.\r\n","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2023-06-26T07:20:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/26187/matplotlib/issues/26187"}
| 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:207ce696-6213-e533-f4cc-3e1602e94bcc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1FE:3A96BF:476ADB6:6414EE7:6A54F1A2 |
| html-safe-nonce | 9ec2926bd8f9fa7ff8669a1461157c3620288ea0ce62073f9c079b6b06e86c9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUZFOjNBOTZCRjo0NzZBREI2OjY0MTRFRTc6NkE1NEYxQTIiLCJ2aXNpdG9yX2lkIjoiNDI0MzgxMTI3Mzc2MTE1NzUzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4ae0891c6f7c962d813bd4d342919faed16c54a5d1cbd271e4bf5c399362b757 |
| hovercard-subject-tag | issue:1774106198 |
| 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/26187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d9a6675b1ff5787ca944d44961ab674b35937c5343dc94c4b71b70db508db0ee/matplotlib/matplotlib/issues/26187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9a6675b1ff5787ca944d44961ab674b35937c5343dc94c4b71b70db508db0ee/matplotlib/matplotlib/issues/26187 |
| og:image:alt | Update: See summary in #26187 (comment) Problem In #21266 (v3.6) we prohibited negative errors to bring the behavior in line with the documentation. I've got the request to again support negative e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 | dd26d3896747463b6bd56edd5e290edb595c3cbc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width