Title: backend_qt5 (1.4.0): Not saving the figure with NavigationToolbar (solved) · Issue #3454 · matplotlib/matplotlib · GitHub
Open Graph Title: backend_qt5 (1.4.0): Not saving the figure with NavigationToolbar (solved) · Issue #3454 · matplotlib/matplotlib
X Title: backend_qt5 (1.4.0): Not saving the figure with NavigationToolbar (solved) · Issue #3454 · matplotlib/matplotlib
Description: Bug also reported here: https://bugs.archlinux.org/task/41790 When clicking on the Save button on the NavigationToolbar, I get an error: Format "png)')" is not supported. Supported formats: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, s...
Open Graph Description: Bug also reported here: https://bugs.archlinux.org/task/41790 When clicking on the Save button on the NavigationToolbar, I get an error: Format "png)')" is not supported. Supported formats: eps, jp...
X Description: Bug also reported here: https://bugs.archlinux.org/task/41790 When clicking on the Save button on the NavigationToolbar, I get an error: Format "png)')" is not supported. Supported fo...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3454
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"backend_qt5 (1.4.0): Not saving the figure with NavigationToolbar (solved)","articleBody":"Bug also reported here: https://bugs.archlinux.org/task/41790\nWhen clicking on the Save button on the NavigationToolbar, I get an error:\n`Format \"png)')\" is not supported.\nSupported formats: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff.`\n\nI tracked the bug to be coming from the output of the `_getSaveFileName` function, that is supposed to be a string but is a tuple in reality. In `qt_compat.py`, `_getSaveFileName` links to QtWidgets.QtFileDialog.getSaveFileName.\nIn pyqt4, this function returns a string, but the doc pyqt4/5 differences says that in pyqt5 the functions returns a tuple (filename, extension), as for `getSaveFileNameAndFilter` in pyqt4.\n\nCommenting line 96 in `qt_compat.py` solved the problem, because `_getSaveFileName` is then correctly defined in line 117 (only returning the first element of the tuple).\n","author":{"url":"https://github.com/getzze","@type":"Person","name":"getzze"},"datePublished":"2014-09-02T17:22:58Z","url":"https://github.com/matplotlib/matplotlib/issues/3454"}
| 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:05f0d640-32e9-ab6e-2732-3b9648091075 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2DC:2E4E6F:1889A5B:214394A:6B0688B2 |
| html-safe-nonce | dc5d2b16419ca6a0759456d03dde9b56b1b932f228f8b6e492a8f9f17897f0f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkRDOjJFNEU2RjoxODg5QTVCOjIxNDM5NEE6NkIwNjg4QjIiLCJ2aXNpdG9yX2lkIjoiNDM0MTQ5NjQzOTQ0OTc0OTY4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d74cada81fd9743d37016ef61d857a38b09e87e3ef254aca6f540f4167b6c8a3 |
| hovercard-subject-tag | issue:41733305 |
| 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/3454/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e19321a289581507f4279aaa2e8a2b9957c0c6eb08c971be9619616e62a12891/matplotlib/matplotlib/issues/3454 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e19321a289581507f4279aaa2e8a2b9957c0c6eb08c971be9619616e62a12891/matplotlib/matplotlib/issues/3454 |
| og:image:alt | Bug also reported here: https://bugs.archlinux.org/task/41790 When clicking on the Save button on the NavigationToolbar, I get an error: Format "png)')" is not supported. Supported formats: eps, jp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | getzze |
| 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