Title: Universal fullscreen command · Issue #17714 · matplotlib/matplotlib · GitHub
Open Graph Title: Universal fullscreen command · Issue #17714 · matplotlib/matplotlib
X Title: Universal fullscreen command · Issue #17714 · matplotlib/matplotlib
Description: Converting #17710 to an issue (attn @Luluser) Sharing my work with different persons I have dealt with them having different OS and Matplotlib Backend and had to play pingpong game with trial and errors to make it work on their desktop. ...
Open Graph Description: Converting #17710 to an issue (attn @Luluser) Sharing my work with different persons I have dealt with them having different OS and Matplotlib Backend and had to play pingpong game with trial and e...
X Description: Converting #17710 to an issue (attn @Luluser) Sharing my work with different persons I have dealt with them having different OS and Matplotlib Backend and had to play pingpong game with trial and e...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17714
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Universal fullscreen command ","articleBody":"Converting #17710 to an issue (attn @luluser)\r\n\r\n-----\r\n\r\nSharing my work with different persons I have dealt with them having different OS and Matplotlib Backend and had to play pingpong game with trial and errors to make it work on their desktop.\r\nI think for example that a backend versatile fullscreen command would be great. I have found examples on the web quite easily but even then in some cases it didn't work on my colleagues' computers.\r\nHere is a slightly different code I modified from the one I found :\r\n\r\n plot_backend = get_backend()\r\n mng = plt.get_current_fig_manager()\r\n if plot_backend == 'TkAgg':#Seems to be the most used backend\r\n try:\r\n mng.window.state('zoomed')#for Windows users\r\n except _tkinter.TclError:\r\n mng.resize(*mng.window.maxsize())#for Ubuntu users\r\n elif plot_backend == 'wxAgg':\r\n mng.frame.Maximize(True)\r\n elif plot_backend == 'Qt4Agg':\r\n mng.window.showMaximized() \r\n\r\nI am new to pull request some I mark it as a draft one. There are probably some cases forgotten, I don't pretend this code is perfect on the contrary your recommendations and enhancements are welcomed.","author":{"url":"https://github.com/tacaswell","@type":"Person","name":"tacaswell"},"datePublished":"2020-06-22T14:09:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/17714/matplotlib/issues/17714"}
| 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:0b7e935d-71a3-73c7-b4eb-6a2ddb3c562f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE42:24214A:1467F15:1BECE43:6A53D4B6 |
| html-safe-nonce | ef2770b14e6e7fefe9b27c945799627de438a805b8b4728f28d2182f06b58a15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTQyOjI0MjE0QToxNDY3RjE1OjFCRUNFNDM6NkE1M0Q0QjYiLCJ2aXNpdG9yX2lkIjoiMzM1ODExODgyODk3MDMzMzM2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb6a89635be9b8090c2d64d62df3dc22fd0a62dce2f771ee3266efb98a8f606b |
| hovercard-subject-tag | issue:643103482 |
| 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/17714/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5fe973d4e186cb5a01f0a62da58b2aa8d209d38fc4a8cdef72044144b907ba1/matplotlib/matplotlib/issues/17714 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5fe973d4e186cb5a01f0a62da58b2aa8d209d38fc4a8cdef72044144b907ba1/matplotlib/matplotlib/issues/17714 |
| og:image:alt | Converting #17710 to an issue (attn @Luluser) Sharing my work with different persons I have dealt with them having different OS and Matplotlib Backend and had to play pingpong game with trial and e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tacaswell |
| 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