Title: spanselector does not respect widgetlock · Issue #1368 · matplotlib/matplotlib · GitHub
Open Graph Title: spanselector does not respect widgetlock · Issue #1368 · matplotlib/matplotlib
X Title: spanselector does not respect widgetlock · Issue #1368 · matplotlib/matplotlib
Description: the spanselector does not ignore events when the widgetlock is set (e.g. when in zoom or pan mode) in zoom mode it is not really bad, it just draws two things but in pan mode it flickers a lot. to reproduce it just use the spanselector e...
Open Graph Description: the spanselector does not ignore events when the widgetlock is set (e.g. when in zoom or pan mode) in zoom mode it is not really bad, it just draws two things but in pan mode it flickers a lot. to ...
X Description: the spanselector does not ignore events when the widgetlock is set (e.g. when in zoom or pan mode) in zoom mode it is not really bad, it just draws two things but in pan mode it flickers a lot. to ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1368
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"spanselector does not respect widgetlock","articleBody":"the spanselector does not ignore events when the widgetlock is set (e.g. when in zoom or pan mode)\n\nin zoom mode it is not really bad, it just draws two things but in pan mode it flickers a lot.\nto reproduce it just use the spanselector example in the source and go into zoom and pan mode.\n\nwhen panning in the shipped example I also get this traceback:\n\n```\n File \"/scisoft/lib/python2.7/lib-tk/Tkinter.py\", line 1410, in __call__\n return self.func(*args)\n File \"/scratch/jtaylor/progs/matplotlib/build/lib.linux-i686-2.7/matplotlib/backends/backend_tkagg.py\", line 413, in button_release_event\n FigureCanvasBase.button_release_event(self, x, y, num, guiEvent=event)\n File \"/scratch/jtaylor/progs/matplotlib/build/lib.linux-i686-2.7/matplotlib/backend_bases.py\", line 1718, in button_release_event\n self.callbacks.process(s, event)\n File \"/scratch/jtaylor/progs/matplotlib/build/lib.linux-i686-2.7/matplotlib/cbook.py\", line 340, in process\n proxy(*args, **kwargs)\n File \"/scratch/jtaylor/progs/matplotlib/build/lib.linux-i686-2.7/matplotlib/cbook.py\", line 218, in __call__\n return mtd(*args, **kwargs)\n File \"/scratch/jtaylor/progs/matplotlib/build/lib.linux-i686-2.7/matplotlib/widgets.py\", line 1096, in release\n self.onselect(vmin, vmax)\n File \"../../examples/widgets/span_selector.py\", line 31, in onselect\n ax2.set_xlim(thisx[0], thisx[-1])\n\n```\n\nThe rectangle selector does not have this issue as it checks for widgetlock in its ignore function\n\nit affects git head and 1.1.0, possibly also older versions.\n","author":{"url":"https://github.com/juliantaylor","@type":"Person","name":"juliantaylor"},"datePublished":"2012-10-12T09:52:10Z","url":"https://github.com/matplotlib/matplotlib/issues/1368"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:dd62b0a6-5a65-a761-b448-bf232b8e2911 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3C8:1649B1:1CBB8FA:2619CEF:6B068E7B |
| html-safe-nonce | bd7c18981ccf327b641b3003d6d23b192c3a3f5c3c487a8dae3974d45576354b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0M4OjE2NDlCMToxQ0JCOEZBOjI2MTlDRUY6NkIwNjhFN0IiLCJ2aXNpdG9yX2lkIjoiNDkzNzU4NzA3Nzc4NjUzNzU5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3149cc7e17b7f28d56babaa4fc60280bf9014ed09163bc4ac7207e31ecb8ab8d |
| hovercard-subject-tag | issue:7538425 |
| 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/1368/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af57b26a89b059947fa603e60e9d7f3aaa8eea7f1e64946142ff0f7e90a2f308/matplotlib/matplotlib/issues/1368 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af57b26a89b059947fa603e60e9d7f3aaa8eea7f1e64946142ff0f7e90a2f308/matplotlib/matplotlib/issues/1368 |
| og:image:alt | the spanselector does not ignore events when the widgetlock is set (e.g. when in zoom or pan mode) in zoom mode it is not really bad, it just draws two things but in pan mode it flickers a lot. to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | juliantaylor |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width