Title: Lines are not affected by changing polar limits after draw · Issue #12887 · matplotlib/matplotlib · GitHub
Open Graph Title: Lines are not affected by changing polar limits after draw · Issue #12887 · matplotlib/matplotlib
X Title: Lines are not affected by changing polar limits after draw · Issue #12887 · matplotlib/matplotlib
Description: From #12300, something funny happens if you flip the radial limits after a draw. @jklymak noted that this is also a problem on current master if you just change the limits (but no flipping.) #!/usr/bin/env python import numpy as np impor...
Open Graph Description: From #12300, something funny happens if you flip the radial limits after a draw. @jklymak noted that this is also a problem on current master if you just change the limits (but no flipping.) #!/usr...
X Description: From #12300, something funny happens if you flip the radial limits after a draw. @jklymak noted that this is also a problem on current master if you just change the limits (but no flipping.) #!/usr...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12887
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lines are not affected by changing polar limits after draw","articleBody":"From #12300, something funny happens if you flip the radial limits after a draw. @jklymak noted that this is also a problem on current `master` if you just change the limits (but no flipping.)\r\n\r\n```python\r\n#!/usr/bin/env python\r\n\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\nfig, (ax0, ax1, ax2) = plt.subplots(1, 3, subplot_kw=dict(polar=True))\r\n\r\nax0.plot([0, 1], [-1, 1])\r\nax0.scatter([0, 1], [-1, 1])\r\n\r\nax0.set_rmin(-1.5)\r\nax0.set_rmax(1.5)\r\nax0.set_title('Forward')\r\n\r\nax1.plot([0, 1], [-1, 1])\r\nax1.scatter([0, 1], [-1, 1])\r\n\r\nax1.set_rmin(1.5)\r\nax1.set_rmax(-1.5)\r\nax1.set_title('Backward')\r\n\r\nax2.plot([0, 1], [-1, 1])\r\nax2.scatter([0, 1], [-1, 1])\r\n\r\nax2.set_rmin(-1.5)\r\nax2.set_rmax(1.5)\r\nax2.set_title('Backward with draw')\r\nfig.canvas.draw()\r\nax2.set_rmin(1.5)\r\nax2.set_rmax(-1.5)\r\n\r\nplt.show()\r\n```\r\n\r\n\r\n_Originally posted by @QuLogic in https://github.com/matplotlib/matplotlib/pull/12300#issuecomment-440162352_","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2018-11-26T00:23:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/12887/matplotlib/issues/12887"}
| 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:dc630069-7493-998b-9d3b-92b02c051067 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8CC:3B66C6:24369:318E9:6A525531 |
| html-safe-nonce | 92143c8293a4c607f0cfa4fd63b11fc782f71780f0000d3616045021cc45a1a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOENDOjNCNjZDNjoyNDM2OTozMThFOTo2QTUyNTUzMSIsInZpc2l0b3JfaWQiOiI1NjAyMTY3NzM0MjE5NzI0MDgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b704a162ad5f5694a068bb2b4a5141ebeeb4ef092933e6b207a3978b8d4c4a8a |
| hovercard-subject-tag | issue:384135868 |
| 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/12887/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58c26f49a107cae23b4cc20aa898f2dcc1a3aaa15397d96be0df79f3f3124440/matplotlib/matplotlib/issues/12887 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58c26f49a107cae23b4cc20aa898f2dcc1a3aaa15397d96be0df79f3f3124440/matplotlib/matplotlib/issues/12887 |
| og:image:alt | From #12300, something funny happens if you flip the radial limits after a draw. @jklymak noted that this is also a problem on current master if you just change the limits (but no flipping.) #!/usr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width