Title: Add "copy to clipboard" to the Toolbar · Issue #1987 · matplotlib/matplotlib · GitHub
Open Graph Title: Add "copy to clipboard" to the Toolbar · Issue #1987 · matplotlib/matplotlib
X Title: Add "copy to clipboard" to the Toolbar · Issue #1987 · matplotlib/matplotlib
Description: Wishlist: a "copy image to clipboard" button in the Toolbar for interactive backends. For the wx backend, I've had some success with adding such a button by altering the function matplotlib.backends.NavigationToolbar2Wx._init_toolbar() i...
Open Graph Description: Wishlist: a "copy image to clipboard" button in the Toolbar for interactive backends. For the wx backend, I've had some success with adding such a button by altering the function matplotlib.backend...
X Description: Wishlist: a "copy image to clipboard" button in the Toolbar for interactive backends. For the wx backend, I've had some success with adding such a button by altering the function matp...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1987
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add \"copy to clipboard\" to the Toolbar","articleBody":"Wishlist: a \"copy image to clipboard\" button in the Toolbar for interactive backends.\n\nFor the wx backend, I've had some success with adding such a button by altering the function matplotlib.backends.NavigationToolbar2Wx._init_toolbar() in backend_wx.py so that the last line:\n\n```\nself.Realize()\n```\n\nis replaced by:\n\n```\n _NTB2_COPY = wx.NewId()\n self.AddSimpleTool(_NTB2_COPY, _load_bitmap('stock_up.xpm'),\n 'Copy', 'Copy plot image to clipboard') \n bind(self, wx.EVT_TOOL, self.copy, id=_NTB2_COPY) \n\n self.Realize()\n\ndef copy(self, evt):\n self.canvas.Copy_to_Clipboard(event=evt) # bmp image\n```\n","author":{"url":"https://github.com/ryggyr","@type":"Person","name":"ryggyr"},"datePublished":"2013-05-09T05:27:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":24},"url":"https://github.com/1987/matplotlib/issues/1987"}
| 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:9fb81387-7adc-e03a-9400-4990d688816f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A48A:4DD3F:1490ADB:1B37179:6A5349A4 |
| html-safe-nonce | c4a98e8750d0581dae04c0080485507041f730e7b397b3ab6df51b715306c5a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDhBOjRERDNGOjE0OTBBREI6MUIzNzE3OTo2QTUzNDlBNCIsInZpc2l0b3JfaWQiOiIxMzY0MDMyMDcyNTQ1NjgzODc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5479a308a10cfb22ede1287f2254f20db3ae4a02af729b732379242edb269905 |
| hovercard-subject-tag | issue:14134692 |
| 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/1987/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86efd6af35d4bebfbda3e0bc88d09451b538fbc35e00785bf04c66895a1392d3/matplotlib/matplotlib/issues/1987 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86efd6af35d4bebfbda3e0bc88d09451b538fbc35e00785bf04c66895a1392d3/matplotlib/matplotlib/issues/1987 |
| og:image:alt | Wishlist: a "copy image to clipboard" button in the Toolbar for interactive backends. For the wx backend, I've had some success with adding such a button by altering the function matplotlib.backend... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ryggyr |
| 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