Title: patches.Arc objects randomly drawing the full ellipse · Issue #9659 · matplotlib/matplotlib · GitHub
Open Graph Title: patches.Arc objects randomly drawing the full ellipse · Issue #9659 · matplotlib/matplotlib
X Title: patches.Arc objects randomly drawing the full ellipse · Issue #9659 · matplotlib/matplotlib
Description: Bug report Bug summary Providing theta1 and theta2 to the Arc constructor sometimes causes the arc to be drawn as the full ellipse. Code for reproduction from matplotlib.patches import Arc import matplotlib.pyplot as plt patches = [ Arc(...
Open Graph Description: Bug report Bug summary Providing theta1 and theta2 to the Arc constructor sometimes causes the arc to be drawn as the full ellipse. Code for reproduction from matplotlib.patches import Arc import m...
X Description: Bug report Bug summary Providing theta1 and theta2 to the Arc constructor sometimes causes the arc to be drawn as the full ellipse. Code for reproduction from matplotlib.patches import Arc import m...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9659
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"patches.Arc objects randomly drawing the full ellipse","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\n\r\nProviding theta1 and theta2 to the Arc constructor sometimes causes the arc to be drawn as the full ellipse.\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n```python\r\nfrom matplotlib.patches import Arc\r\nimport matplotlib.pyplot as plt\r\n\r\npatches = [\r\n Arc((143954140, 374), 476, 476, theta1=0, theta2=180),\r\n Arc((143954902, 374), 2001, 749, theta1=0, theta2=180),\r\n Arc((143955137, 374), 2471, 749, theta1=0, theta2=180),\r\n Arc((143955276, 374), 2748, 749, theta1=0, theta2=180),\r\n Arc((143955362, 374), 2022, 749, theta1=0, theta2=180),\r\n Arc((143955500, 374), 2299, 749, theta1=0, theta2=180),\r\n Arc((143955641, 374), 488, 488, theta1=0, theta2=180),\r\n Arc((143955650, 374), 506, 506, theta1=0, theta2=180),\r\n Arc((143955885, 374), 976, 749, theta1=0, theta2=180),\r\n Arc((143956128, 374), 489, 489, theta1=0, theta2=180),\r\n Arc((143956135, 374), 467, 467, theta1=0, theta2=180),\r\n Arc((143956137, 374), 471, 471, theta1=0, theta2=180),\r\n Arc((143956276, 374), 748, 748, theta1=0, theta2=180),\r\n Arc((143956515, 374), 1226, 749, theta1=0, theta2=180),\r\n Arc((143956167, 374), 412, 412, theta1=0, theta2=180),\r\n Arc((143956170, 374), 402, 402, theta1=0, theta2=180),\r\n Arc((143956172, 374), 401, 401, theta1=0, theta2=180),\r\n Arc((143956183, 374), 380, 380, theta1=0, theta2=180),\r\n Arc((143956321, 374), 657, 657, theta1=0, theta2=180),\r\n Arc((143956610, 374), 80, 80, theta1=0, theta2=180),\r\n Arc((143956849, 374), 558, 558, theta1=0, theta2=180),\r\n Arc((143956928, 374), 400, 400, theta1=0, theta2=180),\r\n Arc((143956960, 374), 335, 335, theta1=0, theta2=180),\r\n Arc((143956962, 374), 331, 331, theta1=0, theta2=180),\r\n Arc((143957055, 374), 146, 146, theta1=0, theta2=180),\r\n Arc((143957346, 374), 105, 105, theta1=0, theta2=180),\r\n Arc((143957397, 374), 207, 207, theta1=0, theta2=180),\r\n Arc((143957448, 374), 308, 308, theta1=0, theta2=180),\r\n Arc((143957459, 374), 331, 331, theta1=0, theta2=180),\r\n Arc((143957475, 374), 363, 363, theta1=0, theta2=180),\r\n Arc((143957696, 374), 804, 749, theta1=0, theta2=180),\r\n Arc((143958871, 374), 3154, 749, theta1=0, theta2=180),\r\n Arc((143957954, 374), 287, 287, theta1=0, theta2=180),\r\n Arc((143957957, 374), 292, 292, theta1=0, theta2=180),\r\n Arc((143958125, 374), 628, 628, theta1=0, theta2=180),\r\n Arc((143958305, 374), 268, 268, theta1=0, theta2=180),\r\n Arc((143958313, 374), 251, 251, theta1=0, theta2=180),\r\n Arc((143958368, 374), 142, 142, theta1=0, theta2=180),\r\n Arc((143958369, 374), 136, 136, theta1=0, theta2=180),\r\n Arc((143958370, 374), 138, 138, theta1=0, theta2=180),\r\n Arc((143958905, 374), 535, 535, theta1=0, theta2=180),\r\n Arc((143959528, 374), 1780, 749, theta1=0, theta2=180),\r\n Arc((143959543, 374), 1810, 749, theta1=0, theta2=180),\r\n Arc((143959544, 374), 1813, 749, theta1=0, theta2=180),\r\n Arc((143959849, 374), 1198, 749, theta1=0, theta2=180),\r\n Arc((143960119, 374), 658, 658, theta1=0, theta2=180),\r\n Arc((143960678, 374), 151, 151, theta1=0, theta2=180),\r\n Arc((143960682, 374), 158, 158, theta1=0, theta2=180),\r\n Arc((143960682, 374), 159, 159, theta1=0, theta2=180),\r\n Arc((143960723, 374), 241, 241, theta1=0, theta2=180),\r\n Arc((143960797, 374), 388, 388, theta1=0, theta2=180),\r\n Arc((143960845, 374), 484, 484, theta1=0, theta2=180),\r\n Arc((143960809, 374), 363, 363, theta1=0, theta2=180),\r\n Arc((143960943, 374), 95, 95, theta1=0, theta2=180),\r\n Arc((143960945, 374), 92, 92, theta1=0, theta2=180)\r\n]\r\n\r\nplt.figure()\r\nax = plt.gca()\r\nmap(ax.add_patch, patches)\r\nplt.xlim(143953697, 143961337)\r\nplt.ylim(-150, 900)\r\nplt.show()\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\n\r\n\r\n**Expected outcome**\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\nAll the arcs should be half-ellipses above the line `y = 0.5`.\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: Mac OS Sierra\r\n * Matplotlib version: 2.1.0\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): MacOSX\r\n * Python version: 2.7.14 (Homebrew)\r\n * Jupyter version (if applicable):\r\n * Other libraries: numpy 13.3.3\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\npython 2.7.14 from homebrew (`brew install python`); matplotlib from pip (`sudo -H pip install matplotlib`)\r\n","author":{"url":"https://github.com/scnorton","@type":"Person","name":"scnorton"},"datePublished":"2017-11-01T22:55:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/9659/matplotlib/issues/9659"}
| 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:9636428c-2ece-7fc8-023b-a5ad93a0b69c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8352:172D3F:10E8455:16A23D7:6A5421F1 |
| html-safe-nonce | df44770cb55d84077a1b79954ccbf09c9acf2cff4536428fdefaccba51275d01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzUyOjE3MkQzRjoxMEU4NDU1OjE2QTIzRDc6NkE1NDIxRjEiLCJ2aXNpdG9yX2lkIjoiMjM4Nzc1NDExMDQxNjA2OTEwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a9b6ac6cfd5399c5c3dd2f8ca02cb2ffc325014b9c25fc4b54779a82e625c6cb |
| hovercard-subject-tag | issue:270479386 |
| 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/9659/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b0f0d04a3ca0420f93e2d5f3eb5429c8fb1fdcaa19ebf6dc0417c05e25b23a4/matplotlib/matplotlib/issues/9659 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b0f0d04a3ca0420f93e2d5f3eb5429c8fb1fdcaa19ebf6dc0417c05e25b23a4/matplotlib/matplotlib/issues/9659 |
| og:image:alt | Bug report Bug summary Providing theta1 and theta2 to the Arc constructor sometimes causes the arc to be drawn as the full ellipse. Code for reproduction from matplotlib.patches import Arc import m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | scnorton |
| 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