Title: Confusing docstring in matplotlib.pyplot.bar() in version 2.0.0 · Issue #8527 · matplotlib/matplotlib · GitHub
Open Graph Title: Confusing docstring in matplotlib.pyplot.bar() in version 2.0.0 · Issue #8527 · matplotlib/matplotlib
X Title: Confusing docstring in matplotlib.pyplot.bar() in version 2.0.0 · Issue #8527 · matplotlib/matplotlib
Description: Bug report doctrsing of matplotlib.pyplot.bar() : def bar(left, height, width=0.8, bottom=None, hold=None, data=None, **kwargs) Inferred type: (left: Any, height: Any, width: float, bottom: Any, hold: Any, data: Any, kwargs: dict) -> Any...
Open Graph Description: Bug report doctrsing of matplotlib.pyplot.bar() : def bar(left, height, width=0.8, bottom=None, hold=None, data=None, **kwargs) Inferred type: (left: Any, height: Any, width: float, bottom: Any, ho...
X Description: Bug report doctrsing of matplotlib.pyplot.bar() : def bar(left, height, width=0.8, bottom=None, hold=None, data=None, **kwargs) Inferred type: (left: Any, height: Any, width: float, bottom: Any, ho...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8527
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Confusing docstring in matplotlib.pyplot.bar() in version 2.0.0","articleBody":"### Bug report\r\n\r\ndoctrsing of matplotlib.pyplot.bar() :\r\ndef bar(left, height, width=0.8, bottom=None, hold=None, data=None, **kwargs) Inferred type: (left: Any, height: Any, width: float, bottom: Any, hold: Any, data: Any, kwargs: dict) -\u003e Any\r\n\r\nThe co called \"left\" parameter specifies (according to the docstring) the left edge of the bars. In reality, plotted bars will be centered around the given values to \"left\". Since this is in most cases more convenient, i suggest only to correct the docstring!!\r\n","author":{"url":"https://github.com/atsteich","@type":"Person","name":"atsteich"},"datePublished":"2017-04-23T10:10:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8527/matplotlib/issues/8527"}
| 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:9f1efb8c-813b-9e80-515b-06ff17cedec4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A08:172C5:278593:363231:6A546D3A |
| html-safe-nonce | c01b5e57476205f54c8bb7196ada39ebdda7c77e565892653d2dababe5a111c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTA4OjE3MkM1OjI3ODU5MzozNjMyMzE6NkE1NDZEM0EiLCJ2aXNpdG9yX2lkIjoiMTE2ODM1ODA5OTg4ODkyNjAxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 416b52dfac808043c6ad67d68d309fe383772614f238a234abac7e592e0fb882 |
| hovercard-subject-tag | issue:223625785 |
| 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/8527/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3d44c779fff42a4fdf3526b0132da421c6bc63729e44ff556d2b259458c9a7b/matplotlib/matplotlib/issues/8527 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3d44c779fff42a4fdf3526b0132da421c6bc63729e44ff556d2b259458c9a7b/matplotlib/matplotlib/issues/8527 |
| og:image:alt | Bug report doctrsing of matplotlib.pyplot.bar() : def bar(left, height, width=0.8, bottom=None, hold=None, data=None, **kwargs) Inferred type: (left: Any, height: Any, width: float, bottom: Any, ho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | atsteich |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width