Title: [Bug]: The plot is incorrect for certain data · Issue #23053 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: The plot is incorrect for certain data · Issue #23053 · matplotlib/matplotlib
X Title: [Bug]: The plot is incorrect for certain data · Issue #23053 · matplotlib/matplotlib
Description: Bug summary The chart is incorrect for a specific number (19.607843137254918). I am not creating this number manually. Instead I get it from a pandas data frame. I have no control over what data I get so I am not sure about what is speci...
Open Graph Description: Bug summary The chart is incorrect for a specific number (19.607843137254918). I am not creating this number manually. Instead I get it from a pandas data frame. I have no control over what data I ...
X Description: Bug summary The chart is incorrect for a specific number (19.607843137254918). I am not creating this number manually. Instead I get it from a pandas data frame. I have no control over what data I ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23053
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: The plot is incorrect for certain data","articleBody":"### Bug summary\n\nThe chart is incorrect for a specific number (19.607843137254918). I am not creating this number manually. Instead I get it from a pandas data frame. I have no control over what data I get so I am not sure about what is special about this number that causes a wrong chart.\r\nPlease look at the \n\n### Code for reproduction\n\n```python\nfrom matplotlib.pyplot import figure\r\nimport matplotlib.pyplot as plt\r\n\r\nfigure(figsize=(8, 6), dpi=100)\r\nplt.plot([19.607843137254903, 19.607843137254903, 19.607843137254903, 19.607843137254903, 19.607843137254903, 19.60784313725489, 19.607843137254918])\r\nplt.show()\n```\n\n\n### Actual outcome\n\n\r\n\n\n### Expected outcome\n\nPlease see the Y-Axis of the attached image to see what is wrong. I expect a plot with Y-values around 19. But instead the plot shows 5.5 with a scale that is 1e-11+...\r\n\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nOS/X\n\n### Matplotlib Version\n\n3.5.1\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\nPython 3.9.10\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/manishbajpai","@type":"Person","name":"manishbajpai"},"datePublished":"2022-05-16T17:38:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/23053/matplotlib/issues/23053"}
| 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:3ad59bb9-5571-7e32-b844-7d8cf934ea8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1EE:1AC175:10AC74A:16262CB:6A51C565 |
| html-safe-nonce | d361c9cecc182bb1ac39ce92fd593b245566bbe904ff48d07f5fc1b8fafc59f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUVFOjFBQzE3NToxMEFDNzRBOjE2MjYyQ0I6NkE1MUM1NjUiLCJ2aXNpdG9yX2lkIjoiODQyMzUwNzg5MjQxODc1Nzk4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1b999e2363c9d26e155f57b9163125bb630b0a7ce736dc4e075e2fa8799b0628 |
| hovercard-subject-tag | issue:1237484591 |
| 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/23053/issue_layout |
| twitter:image | https://opengraph.githubassets.com/853525c15fbaab72a1a1ad4fe6f7e2c02ce2b33cff17036ddb0a48a9ee681121/matplotlib/matplotlib/issues/23053 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/853525c15fbaab72a1a1ad4fe6f7e2c02ce2b33cff17036ddb0a48a9ee681121/matplotlib/matplotlib/issues/23053 |
| og:image:alt | Bug summary The chart is incorrect for a specific number (19.607843137254918). I am not creating this number manually. Instead I get it from a pandas data frame. I have no control over what data I ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | manishbajpai |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width