Title: Error using "set_window_title" for canvas via backend_qt5agg · Issue #17716 · matplotlib/matplotlib · GitHub
Open Graph Title: Error using "set_window_title" for canvas via backend_qt5agg · Issue #17716 · matplotlib/matplotlib
X Title: Error using "set_window_title" for canvas via backend_qt5agg · Issue #17716 · matplotlib/matplotlib
Description: Bug summary When using "set_window_title" I get this error: self.manager.set_window_title(title) AttributeError: 'NoneType' object has no attribute 'set_window_title' Located in this file and error: File "..\lib\site-packages\matplotlib\...
Open Graph Description: Bug summary When using "set_window_title" I get this error: self.manager.set_window_title(title) AttributeError: 'NoneType' object has no attribute 'set_window_title' Located in this file and error...
X Description: Bug summary When using "set_window_title" I get this error: self.manager.set_window_title(title) AttributeError: 'NoneType' object has no attribute 'set_window_title' Loca...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17716
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error using \"set_window_title\" for canvas via backend_qt5agg","articleBody":"**Bug summary**\r\nWhen using \"set_window_title\" I get this error: \r\n _self.manager.set_window_title(title)\r\nAttributeError: 'NoneType' object has no attribute 'set_window_title'_\r\n\r\nLocated in this file and error:\r\n **File \"..\\lib\\site-packages\\matplotlib\\backend_bases.py\", line 2245, in set_window_title\r\n self.manager.set_window_title(title)\r\nAttributeError: 'NoneType' object has no attribute 'set_window_title'**\r\n\r\n**Code for reproduction**\r\nself.canvas.set_window_title('Some Text')\r\n\r\n\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Win 10\r\n * Matplotlib version: 3.3.0rc1\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): matplotlib.backends.backend_qt5agg\r\n * Python version: 3.7.7\r\n * Other libraries: PyQt5: 5.15.0\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e pip\r\n\r\n\r\n","author":{"url":"https://github.com/xo-HADES-xo","@type":"Person","name":"xo-HADES-xo"},"datePublished":"2020-06-22T14:12:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/17716/matplotlib/issues/17716"}
| 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:3f9fdd8c-e01d-9739-241d-19e675bd23f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83E8:113CA7:2C65E3D:3BFE022:6A53BE97 |
| html-safe-nonce | 41796f22a3d6ebdc99fcf4c0ba1582a6e3aef2899f9e14b284c41a7ab7b2dcba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0U4OjExM0NBNzoyQzY1RTNEOjNCRkUwMjI6NkE1M0JFOTciLCJ2aXNpdG9yX2lkIjoiMzAzMzg1MjM0MTQ3MDM0NjkwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2025ee5bc04f737501f6b97913d2b85a84ed66c679bfa7144eb48bacb8e49d0d |
| hovercard-subject-tag | issue:643105935 |
| 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/17716/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72e70cdc15283906b7c1a31202307e7f4b0173ebb0ec771dc8c4b6392b0ec30b/matplotlib/matplotlib/issues/17716 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72e70cdc15283906b7c1a31202307e7f4b0173ebb0ec771dc8c4b6392b0ec30b/matplotlib/matplotlib/issues/17716 |
| og:image:alt | Bug summary When using "set_window_title" I get this error: self.manager.set_window_title(title) AttributeError: 'NoneType' object has no attribute 'set_window_title' Located in this file and error... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xo-HADES-xo |
| 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