Title: [Bug]: On polar axis, stem plot with non-zero bottom has an extra red line. · Issue #29484 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: On polar axis, stem plot with non-zero bottom has an extra red line. · Issue #29484 · matplotlib/matplotlib
X Title: [Bug]: On polar axis, stem plot with non-zero bottom has an extra red line. · Issue #29484 · matplotlib/matplotlib
Description: Bug summary I'm tring to make stem plots on polar axis. When I set the stem bottom to non-zero values, I noticed an abnormal red line that connects the bottom of first and last stem. I don't think this is an expected behaviour. Code for ...
Open Graph Description: Bug summary I'm tring to make stem plots on polar axis. When I set the stem bottom to non-zero values, I noticed an abnormal red line that connects the bottom of first and last stem. I don't think ...
X Description: Bug summary I'm tring to make stem plots on polar axis. When I set the stem bottom to non-zero values, I noticed an abnormal red line that connects the bottom of first and last stem. I don'...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29484
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: On polar axis, stem plot with non-zero bottom has an extra red line.","articleBody":"### Bug summary\n\nI'm tring to make stem plots on polar axis. When I set the stem bottom to non-zero values, I noticed an abnormal red line that connects the bottom of first and last stem. I don't think this is an expected behaviour.\n\n### Code for reproduction\n\n```Python\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# Fixing random state for reproducibility\nnp.random.seed(19680801)\n\n# Compute areas and colors\nN = 50\nr = 2 * np.random.rand(N)\ntheta = 2 * np.pi * np.random.rand(N)\n\nfig = plt.figure()\nax = fig.add_subplot(projection='polar')\nc1 = ax.stem(\n theta, \n r+4, \n bottom=4,\n)\n```\n\n### Actual outcome\n\n\n\n### Expected outcome\n\nA plot without the red line connectting the bottom of first and last stem.\n\n### Additional information\n\n_No response_\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\n3.10.0\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/siyuanzou9","@type":"Person","name":"siyuanzou9"},"datePublished":"2025-01-19T18:51:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/29484/matplotlib/issues/29484"}
| 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:be55b5eb-5622-f081-d659-361f04308ad9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F2E:4DD3F:EA7F82:1363A80:6A532EDE |
| html-safe-nonce | 160871a17c037fee4d063fb7c9df16c5c331c4fa13b7c9f7adc72cd72b88bb3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjJFOjRERDNGOkVBN0Y4MjoxMzYzQTgwOjZBNTMyRURFIiwidmlzaXRvcl9pZCI6IjU4MjUxNDI3OTEwNDc2ODc5MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 73ecfe23dffe7a169c0c34aa092e5fb99fe88e44f9a7d90dc0dc68b60a0e1564 |
| hovercard-subject-tag | issue:2797775159 |
| 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/29484/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1747c9570c661c79d7987c2d122d2f7742b59b6eb5bc5c284bfa02d328786a73/matplotlib/matplotlib/issues/29484 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1747c9570c661c79d7987c2d122d2f7742b59b6eb5bc5c284bfa02d328786a73/matplotlib/matplotlib/issues/29484 |
| og:image:alt | Bug summary I'm tring to make stem plots on polar axis. When I set the stem bottom to non-zero values, I noticed an abnormal red line that connects the bottom of first and last stem. I don't think ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | siyuanzou9 |
| 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