Title: Notebook backend broken on Master · Issue #5944 · matplotlib/matplotlib · GitHub
Open Graph Title: Notebook backend broken on Master · Issue #5944 · matplotlib/matplotlib
X Title: Notebook backend broken on Master · Issue #5944 · matplotlib/matplotlib
Description: Just trying to do something simple like: %matplotlib notebook import matplotlib.pyplot as plt plt.plot(range(10)) plt.tight_layout() results in Traceback (most recent call last): File "/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-...
Open Graph Description: Just trying to do something simple like: %matplotlib notebook import matplotlib.pyplot as plt plt.plot(range(10)) plt.tight_layout() results in Traceback (most recent call last): File "/Users/jhn/E...
X Description: Just trying to do something simple like: %matplotlib notebook import matplotlib.pyplot as plt plt.plot(range(10)) plt.tight_layout() results in Traceback (most recent call last): File "/Users/...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5944
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Notebook backend broken on Master","articleBody":"Just trying to do something simple like:\n\n``` python\n%matplotlib notebook\nimport matplotlib.pyplot as plt\nplt.plot(range(10))\nplt.tight_layout()\n```\n\nresults in \n\n```\nTraceback (most recent call last):\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/ipykernel/comm/manager.py\", line 137, in comm_msg\n comm.handle_msg(msg)\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/ipykernel/comm/comm.py\", line 164, in handle_msg\n self._msg_callback(msg)\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_nbagg.py\", line 304, in on_message\n self.manager.handle_json(message)\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_webagg_core.py\", line 485, in handle_json\n self.canvas.handle_event(content)\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_webagg_core.py\", line 272, in handle_event\n return handler(event)\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_webagg_core.py\", line 288, in handle_draw\n self.draw()\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_webagg_core.py\", line 181, in draw\n self.manager.refresh_all()\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_webagg_core.py\", line 489, in refresh_all\n diff = self.canvas.get_diff_image()\n File \"/Users/jhn/Envs/matplotlibbisect/lib/python3.5/site-packages/matplotlib/backends/backend_webagg_core.py\", line 232, in get_diff_image\n None, compression=6, filter=_png.PNG_FILTER_NONE)\nTypeError: Object does not appear to be a 8-bit string path or a Python file-like object\n```\n\ngit bisect tells me that it was broken by 9758da584590910c9b8f09285c9337107721de03\n","author":{"url":"https://github.com/jenshnielsen","@type":"Person","name":"jenshnielsen"},"datePublished":"2016-01-29T14:36:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/5944/matplotlib/issues/5944"}
| 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:c47c7f81-c8d0-1368-610d-488154bfaebf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC04:333E4B:959B02:C8697F:6A54003E |
| html-safe-nonce | 01183c7194ad4069db5a9a82a5150eb4717b77b73e7d91773a7c7529eef72fca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzA0OjMzM0U0Qjo5NTlCMDI6Qzg2OTdGOjZBNTQwMDNFIiwidmlzaXRvcl9pZCI6IjgzNjEzMjQ5MDQ5MzU4NTAwNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95e3633098b611b83bdd66e9bd70e2dcff6eccb9d6e591c84f412cdbd3e147b8 |
| hovercard-subject-tag | issue:129782732 |
| 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/5944/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cf0211be15197df049d074be507cefc9735fdf38f17c8805870dae653ad3b50/matplotlib/matplotlib/issues/5944 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cf0211be15197df049d074be507cefc9735fdf38f17c8805870dae653ad3b50/matplotlib/matplotlib/issues/5944 |
| og:image:alt | Just trying to do something simple like: %matplotlib notebook import matplotlib.pyplot as plt plt.plot(range(10)) plt.tight_layout() results in Traceback (most recent call last): File "/Users/jhn/E... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jenshnielsen |
| 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