Title: Event picking does not seem to work on polar bar plots · Issue #7655 · matplotlib/matplotlib · GitHub
Open Graph Title: Event picking does not seem to work on polar bar plots · Issue #7655 · matplotlib/matplotlib
X Title: Event picking does not seem to work on polar bar plots · Issue #7655 · matplotlib/matplotlib
Description: The minimal example provided below has been tested on Windows 10, Python 3.5.2 (Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32 ), matplotlib 1.5.3. Running the code below results in events ...
Open Graph Description: The minimal example provided below has been tested on Windows 10, Python 3.5.2 (Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32 ), matplotlib 1.5.3. R...
X Description: The minimal example provided below has been tested on Windows 10, Python 3.5.2 (Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32 ), matplotlib 1.5.3. R...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7655
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Event picking does not seem to work on polar bar plots","articleBody":"The minimal example provided below has been tested on Windows 10, Python 3.5.2 (Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32 ), matplotlib 1.5.3. \r\n\r\nRunning the code below results in events being printed for the Cartesian bar plot, but not for the polar bar plot. Changing the bar plots to scatter plots works for both Cartesian scatter plots and polar scatter plots.\r\n```\r\n\r\n \r\n#!/usr/bin/env python3\r\nimport matplotlib.pyplot as plt\r\n \r\ndef onpick(event):\r\n print(event) #Only events from fig2 are shown\r\n return True\r\nrect=[.1,.1,.8,.8]\r\nfig1 = plt.figure()\r\nax = fig1.add_axes(rect,polar=True)\r\nax.bar(1, 2, picker=True)\r\nfig1.canvas.mpl_connect('pick_event',onpick)\r\n\r\nfig2 = plt.figure()\r\nax2 = fig2.add_axes(rect,polar=False)\r\nax2.bar(1, 2, picker=True)\r\nfig2.canvas.mpl_connect('pick_event',onpick)\r\nplt.show()\r\n\r\n```","author":{"url":"https://github.com/kasperloopstra1","@type":"Person","name":"kasperloopstra1"},"datePublished":"2016-12-21T13:40:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7655/matplotlib/issues/7655"}
| 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:a937660a-0554-1155-1813-75c6f7521f83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED6E:30A1AE:2776F41:355A888:6A5484E1 |
| html-safe-nonce | 2a5d2dfee379a828227de536a15a2e36d348fa6195dac4e4cfde81757ac9fcd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDZFOjMwQTFBRToyNzc2RjQxOjM1NUE4ODg6NkE1NDg0RTEiLCJ2aXNpdG9yX2lkIjoiMTk0MDc1OTY3MTE2NzI4ODU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27976d145eab624e039148d106956ceb42c2ae79c9bd5e2b05109f9aa3fb73a7 |
| hovercard-subject-tag | issue:196935376 |
| 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/7655/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c38090fff812dd15518bc8ff5e1225c539aea1acbd08a60b88fcad35d32fa1c2/matplotlib/matplotlib/issues/7655 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c38090fff812dd15518bc8ff5e1225c539aea1acbd08a60b88fcad35d32fa1c2/matplotlib/matplotlib/issues/7655 |
| og:image:alt | The minimal example provided below has been tested on Windows 10, Python 3.5.2 (Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32 ), matplotlib 1.5.3. R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kasperloopstra1 |
| 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 | 03ccb116376fd46e8ba2a4cdc541e35f13f70734 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width