Title: WXAgg embedded navigation zoom, home, back not working · Issue #4109 · matplotlib/matplotlib · GitHub
Open Graph Title: WXAgg embedded navigation zoom, home, back not working · Issue #4109 · matplotlib/matplotlib
X Title: WXAgg embedded navigation zoom, home, back not working · Issue #4109 · matplotlib/matplotlib
Description: I have a figure canvas and navigation bar embedded in a wx.Dialog. In matplotlib version 1.2.1 and earlier the zoom, home, back (and pan) all worked fine. If I upgrade to 1.3 (or 1.4.2) zoom, home, and back stop working. Only pan works. ...
Open Graph Description: I have a figure canvas and navigation bar embedded in a wx.Dialog. In matplotlib version 1.2.1 and earlier the zoom, home, back (and pan) all worked fine. If I upgrade to 1.3 (or 1.4.2) zoom, home,...
X Description: I have a figure canvas and navigation bar embedded in a wx.Dialog. In matplotlib version 1.2.1 and earlier the zoom, home, back (and pan) all worked fine. If I upgrade to 1.3 (or 1.4.2) zoom, home,...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4109
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WXAgg embedded navigation zoom, home, back not working","articleBody":"I have a figure canvas and navigation bar embedded in a wx.Dialog. In matplotlib version 1.2.1 and earlier the zoom, home, back (and pan) all worked fine. If I upgrade to 1.3 (or 1.4.2) zoom, home, and back stop working. Only pan works. Any time I zoom, the zoom rectangle is drawn but nothing happens. The zoom rectangle remains on the screen after I release the mouse button. If I then switch to pan and left-click to pan the zoom takes effect. Same thing with the home and back buttons. If I click them nothing happens until I switch to pan and actually left click and pan then they take effect.\n\nI also tried this with the user interface example: embedding_in_wx2.py\nRunning it alone it is fine. If I put it in my app and do the following:\n\n``` python\n def OnShowClicked(self, event):\n frame = CanvasFrame()\n frame.Show(True)\n```\n\nThe window shows correctly, but the zoom, home, back don't work just as I described above.\n\nI looked through the changes between 1.2.1 and \u003e=1.3 but I didn't see anything that would point to this. What changed between these versions that might causes this issue.\n\nHow do I work around this issue? Is there an example somewhere that shows the right way to do things now to get zoom, home, back, etc. working again?\n\nThanks.\n","author":{"url":"https://github.com/digitalnumeric","@type":"Person","name":"digitalnumeric"},"datePublished":"2015-02-16T23:17:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/4109/matplotlib/issues/4109"}
| 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:6309f243-309d-06ee-767d-34b36e021d47 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D88:226804:93BD3F:C71063:6A530E83 |
| html-safe-nonce | 3cece13f3eb5d1e7eb092843bab205b8fc415538b409d2f92eed24ef957dd7e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDg4OjIyNjgwNDo5M0JEM0Y6QzcxMDYzOjZBNTMwRTgzIiwidmlzaXRvcl9pZCI6IjcyMTQyMjYxNTE5MTY2Mzc4MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fbfa776be5a95a4b7aefeaa6c8e8b5af72b28ccba34b47fcbb0c6f294cf4f5ab |
| hovercard-subject-tag | issue:57862831 |
| 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/4109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb1f9a87d3522f6c8908e28635bf6a94225269fa7c5d355492ad0350ec3e08e4/matplotlib/matplotlib/issues/4109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb1f9a87d3522f6c8908e28635bf6a94225269fa7c5d355492ad0350ec3e08e4/matplotlib/matplotlib/issues/4109 |
| og:image:alt | I have a figure canvas and navigation bar embedded in a wx.Dialog. In matplotlib version 1.2.1 and earlier the zoom, home, back (and pan) all worked fine. If I upgrade to 1.3 (or 1.4.2) zoom, home,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | digitalnumeric |
| 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