Title: Incorrect autoscaling of polar plot limits after scatter · Issue #7130 · matplotlib/matplotlib · GitHub
Open Graph Title: Incorrect autoscaling of polar plot limits after scatter · Issue #7130 · matplotlib/matplotlib
X Title: Incorrect autoscaling of polar plot limits after scatter · Issue #7130 · matplotlib/matplotlib
Description: In matplotlib 1.5.3 (installed with pip on Ubuntu, both over python 2.7.6 and 3.4.3) there seems to be an inconsistency of automatic axes limits in polar plots when a scatter plot is used. I first saw the issue in this question on Stack ...
Open Graph Description: In matplotlib 1.5.3 (installed with pip on Ubuntu, both over python 2.7.6 and 3.4.3) there seems to be an inconsistency of automatic axes limits in polar plots when a scatter plot is used. I first ...
X Description: In matplotlib 1.5.3 (installed with pip on Ubuntu, both over python 2.7.6 and 3.4.3) there seems to be an inconsistency of automatic axes limits in polar plots when a scatter plot is used. I first ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7130
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect autoscaling of polar plot limits after scatter","articleBody":"In matplotlib 1.5.3 (installed with pip on Ubuntu, both over python 2.7.6 and 3.4.3) there seems to be an inconsistency of automatic axes limits in polar plots when a scatter plot is used. I first saw the issue [in this question on Stack Overflow](http://stackoverflow.com/questions/39553030/why-two-points-cant-show-in-the-figure-matplotlib), and it boils down to this short example comparing `plot` and `scatter`:\n\n```\nimport matplotlib.pyplot as plt\nr = range(8)\nph = [-0.2]*len(r)\n\nfig,(ax1,ax2) = plt.subplots(ncols=2,subplot_kw={'polar':True})\nax1.plot(ph,r,'o')\nax2.scatter(ph,r)\nax1.set_title('plot')\nax2.set_title('scatter')\nplt.show()\n```\n\n\n\nThe left axes plots the points using `plot`, and the axes limits are nicely adjusted. The right axes uses `scatter`, and most of the points are missing as the limits are not updated correctly to fit the data. Note that the default radial (y) top limit would be 1, so there is some rescaling going on, but it is incorrect. Setting `ax2.set_ylim(0,max(r))` of course reproduces the scaling of the left axes.\n","author":{"url":"https://github.com/adeak","@type":"Person","name":"adeak"},"datePublished":"2016-09-18T12:07:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/7130/matplotlib/issues/7130"}
| 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:1bba1b7f-90af-f8ed-5961-41d101467140 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C608:2C6FDB:1AC7C7:23C66A:6A52C420 |
| html-safe-nonce | 3d6d1bbeea29b340a031f8cbd58f042fec41d18dd513b093b16334cf2e95481e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjA4OjJDNkZEQjoxQUM3Qzc6MjNDNjZBOjZBNTJDNDIwIiwidmlzaXRvcl9pZCI6IjEwNDc4NDYxMTUwNDE1MjY4MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dbdaf4af9ccc9a9f8dc458a7db5348f30bca10d6e9a16a3ae0d815d509b56be0 |
| hovercard-subject-tag | issue:177648073 |
| 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/7130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de9925ae9de823e70386623f9a8dce3a3f5426b334f07a7b42de6b1721493010/matplotlib/matplotlib/issues/7130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de9925ae9de823e70386623f9a8dce3a3f5426b334f07a7b42de6b1721493010/matplotlib/matplotlib/issues/7130 |
| og:image:alt | In matplotlib 1.5.3 (installed with pip on Ubuntu, both over python 2.7.6 and 3.4.3) there seems to be an inconsistency of automatic axes limits in polar plots when a scatter plot is used. I first ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adeak |
| 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