Title: webAgg example broken - maybe mpl.js broken? · Issue #19129 · matplotlib/matplotlib · GitHub
Open Graph Title: webAgg example broken - maybe mpl.js broken? · Issue #19129 · matplotlib/matplotlib
X Title: webAgg example broken - maybe mpl.js broken? · Issue #19129 · matplotlib/matplotlib
Description: Bug report Extracting the extra bug discovered in #19116 (comment) Bug summary The code in https://matplotlib.org/devdocs/gallery/user_interfaces/embedding_webagg_sgskip.html does not display anything in the browser when running master m...
Open Graph Description: Bug report Extracting the extra bug discovered in #19116 (comment) Bug summary The code in https://matplotlib.org/devdocs/gallery/user_interfaces/embedding_webagg_sgskip.html does not display anyth...
X Description: Bug report Extracting the extra bug discovered in #19116 (comment) Bug summary The code in https://matplotlib.org/devdocs/gallery/user_interfaces/embedding_webagg_sgskip.html does not display anyth...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/19129
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"webAgg example broken - maybe mpl.js broken?","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\nExtracting the extra bug discovered in https://github.com/matplotlib/matplotlib/issues/19116#issuecomment-745785226\r\n\r\n**Bug summary**\r\nThe code in https://matplotlib.org/devdocs/gallery/user_interfaces/embedding_webagg_sgskip.html does not display anything in the browser when running master matplotlib (https://github.com/matplotlib/matplotlib/commit/27aaf0c378f767d5bcff4f2a65664485fba1f69b)\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**\r\n\r\n- Download the example from the docs\r\n- run it using latest matplotlib\r\n- open http://127.0.0.1:8080/\r\n- See no plot\r\n\r\n**Actual outcome**\r\n\r\nNo plot + this DOM exception in the JS console:\r\n\r\n```\r\nUncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable mpl.js:394\r\n send_message http://127.0.0.1:8080/mpl.js:394\r\n _init_canvas http://127.0.0.1:8080/mpl.js:161\r\n figure http://127.0.0.1:8080/mpl.js:55\r\n \u003canonymous\u003e http://127.0.0.1:8080/:40\r\n```\r\n\r\n**Expected outcome**\r\nA working interactive plot shows up\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Ubuntu 20.04\r\n * Matplotlib version: https://github.com/matplotlib/matplotlib/commit/27aaf0c378f767d5bcff4f2a65664485fba1f69b\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): webAgg\r\n * Python version: 3.9.0\r\n * Browser: Firefox 83.0\r\n\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\nInstalled python from conda-forge:\r\n```\r\nPython 3.9.0 | packaged by conda-forge | (default, Oct 14 2020, 22:59:50) \r\n[GCC 7.5.0] on linux\r\n```\r\n\r\n","author":{"url":"https://github.com/ianhi","@type":"Person","name":"ianhi"},"datePublished":"2020-12-16T15:05:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/19129/matplotlib/issues/19129"}
| 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:714bdc67-62c7-a687-da2a-81cf5941b426 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A572:277986:1962751:2198488:6A52C4A6 |
| html-safe-nonce | 4d035c70b6aeb8d45a998ec8d8f77dd9f1cc1fbb402a54fc299c6bc179840ef9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTcyOjI3Nzk4NjoxOTYyNzUxOjIxOTg0ODg6NkE1MkM0QTYiLCJ2aXNpdG9yX2lkIjoiODE1NTUxMjA4MjE1NjE0Mzc4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f122b614cf43243a803baf9148cd1ac60ad49741a639c8827ad10d74f8fec3cc |
| hovercard-subject-tag | issue:768980108 |
| 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/19129/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c8711f7888bfe74191380affbe68c4b1cc5fa372a10568c8a3e8a375d26c4c7/matplotlib/matplotlib/issues/19129 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c8711f7888bfe74191380affbe68c4b1cc5fa372a10568c8a3e8a375d26c4c7/matplotlib/matplotlib/issues/19129 |
| og:image:alt | Bug report Extracting the extra bug discovered in #19116 (comment) Bug summary The code in https://matplotlib.org/devdocs/gallery/user_interfaces/embedding_webagg_sgskip.html does not display anyth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ianhi |
| 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