Title: Arcs with large radii in small · Issue #17547 · matplotlib/matplotlib · GitHub
Open Graph Title: Arcs with large radii in small · Issue #17547 · matplotlib/matplotlib
X Title: Arcs with large radii in small · Issue #17547 · matplotlib/matplotlib
Description: Bug report Bug summary No matplotlib.patches.Arc is being rendering when trying to add a small segment of a circle with a large radius. If I increase the x and y limits to include a larger section of the arc then it is rendered. Code for...
Open Graph Description: Bug report Bug summary No matplotlib.patches.Arc is being rendering when trying to add a small segment of a circle with a large radius. If I increase the x and y limits to include a larger section ...
X Description: Bug report Bug summary No matplotlib.patches.Arc is being rendering when trying to add a small segment of a circle with a large radius. If I increase the x and y limits to include a larger section ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17547
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Arcs with large radii in small ","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nNo `matplotlib.patches.Arc` is being rendering when trying to add a small segment of a circle with a large radius.\r\n\r\nIf I increase the x and y limits to include a larger section of the arc then it is rendered.\r\n\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\nimport matplotlib.pylab as pl\r\nfrom matplotlib import patches\r\n\r\nfig = pl.figure()\r\nax = pl.gca()\r\nx = 212.02529006006412\r\ny = -2115.252900600641\r\ndiameter = 4261.655587271447\r\na = patches.Arc((x, y), diameter, diameter, fill=False)\r\n\r\nax.add_patch(a)\r\npl.xlim(0, 20)\r\npl.ylim(0, 20)\r\nfig.show()\r\n```\r\n\r\n**Actual outcome**\r\n\r\nAn empty figure:\r\n\r\n\r\n\r\n\r\n**Expected outcome**\r\n\r\nA figure with a small section of an arc starting a $(0, 5)$ and ending at $(7.98894818241678, 10.0)$\r\n\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: Windows 10 Pro\r\n * Matplotlib version: 3.2.1\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): module://ipykernel.pylab.backend_inline\r\n * Python version: Python 3.7.5\r\n * Jupyter version (if applicable): Version 0.35.6\r\n * Other libraries: \r\n","author":{"url":"https://github.com/LanceJenkinZA","@type":"Person","name":"LanceJenkinZA"},"datePublished":"2020-06-01T04:09:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/17547/matplotlib/issues/17547"}
| 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:de6a26c7-f30a-5455-9a98-afb202f4d8d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFD6:17A244:31EE7F5:43DC89B:6A53EB28 |
| html-safe-nonce | dc47b6e01876fbcedae10cfc9e8e0d532c1f91131d811148247c2039facf2344 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkQ2OjE3QTI0NDozMUVFN0Y1OjQzREM4OUI6NkE1M0VCMjgiLCJ2aXNpdG9yX2lkIjoiNjQxMjQzMjQxODYyNDc2MDYxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d6cf4ee70e30fb9fc37e47fc62317acbd086c8889fb24cecf77b0be74e4cf362 |
| hovercard-subject-tag | issue:628137148 |
| 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/17547/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8f91389abc13b0ccef07fff12ddcdc44789b41358207f9746f84a1fe0b25c5a1/matplotlib/matplotlib/issues/17547 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f91389abc13b0ccef07fff12ddcdc44789b41358207f9746f84a1fe0b25c5a1/matplotlib/matplotlib/issues/17547 |
| og:image:alt | Bug report Bug summary No matplotlib.patches.Arc is being rendering when trying to add a small segment of a circle with a large radius. If I increase the x and y limits to include a larger section ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LanceJenkinZA |
| 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