Title: pcolormesh in log polar coordinates · Issue #12803 · matplotlib/matplotlib · GitHub
Open Graph Title: pcolormesh in log polar coordinates · Issue #12803 · matplotlib/matplotlib
X Title: pcolormesh in log polar coordinates · Issue #12803 · matplotlib/matplotlib
Description: Bug report Bug summary radius range setting does not work for pcolormesh() in log polar coodinates. Code for reproduction %matplotlib inline import numpy as np import matplotlib.pyplot as plt r = np.geomspace(1, 100, num=10) th = np.lins...
Open Graph Description: Bug report Bug summary radius range setting does not work for pcolormesh() in log polar coodinates. Code for reproduction %matplotlib inline import numpy as np import matplotlib.pyplot as plt r = n...
X Description: Bug report Bug summary radius range setting does not work for pcolormesh() in log polar coodinates. Code for reproduction %matplotlib inline import numpy as np import matplotlib.pyplot as plt r = n...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12803
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pcolormesh in log polar coordinates","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\nradius range setting does not work for pcolormesh() in log polar coodinates.\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\n%matplotlib inline\r\n\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\nr = np.geomspace(1, 100, num=10)\r\nth = np.linspace(0, 360, num=50)\r\nth = np.radians(th)\r\nv = np.random.rand(len(r), len(th))\r\n\r\nax = plt.subplot(1, 1, 1, projection='polar')\r\nax.set_rlim(1, 100)\r\nax.set_rscale('log')\r\nplt.pcolormesh(th, r, v)\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**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\nI think the pixels should spread to the outer edge of the circle, and no warnings should be shown.\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 8.1\r\n * Matplotlib version: 2.2.3\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): module://ipykernel.pylab.backend_inline\r\n * Python version: 3.6.6\r\n * Jupyter version (if applicable): Jupyterlab 0.34.1\r\n * Other libraries: \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\n\r\nPython, jupyterlab numpy and matplotlib were installed with conda.\r\n","author":{"url":"https://github.com/yoichi-kazama","@type":"Person","name":"yoichi-kazama"},"datePublished":"2018-11-13T17:16:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/12803/matplotlib/issues/12803"}
| 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:60974708-42df-5829-a144-614e503d8b8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D82E:24DB5B:3DAD67:52EDA8:6A514318 |
| html-safe-nonce | a1affce377a5975d3d6a5fd6b43cf793f96e91528f034a156d46973904850a03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODJFOjI0REI1QjozREFENjc6NTJFREE4OjZBNTE0MzE4IiwidmlzaXRvcl9pZCI6IjQ5MDcxNTg5MjY2OTk2MTA5MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d2afa87a55495ea0a4309a47aba2150e4afeb6fe416bba33872d0b5b507851bf |
| hovercard-subject-tag | issue:380333959 |
| 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/12803/issue_layout |
| twitter:image | https://opengraph.githubassets.com/17ba5fd5254665318c2efb2ca0361c8cdb4fb622e4daa07a5924e31c045de83f/matplotlib/matplotlib/issues/12803 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17ba5fd5254665318c2efb2ca0361c8cdb4fb622e4daa07a5924e31c045de83f/matplotlib/matplotlib/issues/12803 |
| og:image:alt | Bug report Bug summary radius range setting does not work for pcolormesh() in log polar coodinates. Code for reproduction %matplotlib inline import numpy as np import matplotlib.pyplot as plt r = n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yoichi-kazama |
| hostname | github.com |
| expected-hostname | github.com |
| None | e840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff |
| 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 | b78565f6aa43cc5323c9935ec11b22cca7bb0a62 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width