payload: {"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib/issues/130","repository_url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib","labels_url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib/issues/130/comments","events_url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib/issues/130/events","html_url":"https://github.com/matplotlib/jupyter-matplotlib/issues/130","id":473126585,"node_id":"MDU6SXNzdWU0NzMxMjY1ODU=","number":130,"title":"\"Error displaying widget\" using Jupyter Lab 1.0.2","user":{"login":"neoblizz","id":9790745,"node_id":"MDQ6VXNlcjk3OTA3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/9790745?v=4","gravatar_id":"","url":"https://api.github.com/users/neoblizz","html_url":"https://github.com/neoblizz","followers_url":"https://api.github.com/users/neoblizz/followers","following_url":"https://api.github.com/users/neoblizz/following{/other_user}","gists_url":"https://api.github.com/users/neoblizz/gists{/gist_id}","starred_url":"https://api.github.com/users/neoblizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoblizz/subscriptions","organizations_url":"https://api.github.com/users/neoblizz/orgs","repos_url":"https://api.github.com/users/neoblizz/repos","events_url":"https://api.github.com/users/neoblizz/events{/privacy}","received_events_url":"https://api.github.com/users/neoblizz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-07-26T00:43:10Z","updated_at":"2019-07-26T21:53:19Z","closed_at":null,"author_association":"NONE","body":"Possibly related to #124, I am trying to run a super simple example after following the installation instructions:\r\n\r\n```\r\npip install ipympl\r\n\r\n# If using JupyterLab\r\n# Install nodejs: https://nodejs.org/en/download/\r\njupyter labextension install @jupyter-widgets/jupyterlab-manager\r\njupyter labextension install jupyter-matplotlib\r\n```\r\n\r\nnodejs info:\r\n```\r\n$ node -v\r\nv10.16.0\r\n$ npm version\r\n{ npm: '6.9.0',\r\n...\r\n}\r\n```\r\n\r\nJupyter info:\r\n```\r\n$ jupyter --version\r\njupyter core     : 4.5.0\r\njupyter-notebook : 6.0.0\r\nqtconsole        : not installed\r\nipython          : 7.6.1\r\nipykernel        : 5.1.1\r\njupyter client   : 5.3.1\r\njupyter lab      : 1.0.2\r\nnbconvert        : 5.5.0\r\nipywidgets       : 7.5.0\r\nnbformat         : 4.4.0\r\ntraitlets        : 4.3.2\r\n```\r\n\r\nSimple example:\r\n```\r\n# Enabling the `widget` backend.\r\n# This requires jupyter-matplotlib a.k.a. ipympl.\r\n# ipympl can be install via pip or conda.\r\n%matplotlib widget\r\n# aka import ipympl\r\n \r\nimport matplotlib.pyplot as plt\r\n \r\nplt.plot([0, 1, 2, 2])\r\nplt.show()\r\n```\r\n\r\nError:\r\n```\r\nError displaying widget\r\n```\r\n\r\nNot sure what else I need, or where a version mismatch is, any help is appreciated. Thank you!"},"comment":{"url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib/issues/comments/515610591","html_url":"https://github.com/matplotlib/jupyter-matplotlib/issues/130#issuecomment-515610591","issue_url":"https://api.github.com/repos/matplotlib/jupyter-matplotlib/issues/130","id":515610591,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNTYxMDU5MQ==","user":{"login":"scimax","id":3419955,"node_id":"MDQ6VXNlcjM0MTk5NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/3419955?v=4","gravatar_id":"","url":"https://api.github.com/users/scimax","html_url":"https://github.com/scimax","followers_url":"https://api.github.com/users/scimax/followers","following_url":"https://api.github.com/users/scimax/following{/other_user}","gists_url":"https://api.github.com/users/scimax/gists{/gist_id}","starred_url":"https://api.github.com/users/scimax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scimax/subscriptions","organizations_url":"https://api.github.com/users/scimax/orgs","repos_url":"https://api.github.com/users/scimax/repos","events_url":"https://api.github.com/users/scimax/events{/privacy}","received_events_url":"https://api.github.com/users/scimax/received_events","type":"User","site_admin":false},"created_at":"2019-07-26T21:53:19Z","updated_at":"2019-07-26T21:53:19Z","author_association":"NONE","body":"Interesting, I had a similar error today after waking up my PC from Standby. It didn't happen before the update to v1.0.2. But it worked nicely after restarting the kernel. I will keep an eye on the is console in case it happens again!\r\n\r\n@neoblizz JavaScript is used to provide the interactivity in the web browser. Every web browser comes with developer tools which includes a JavaScript console. For instance in chrome you can find them in the browser menu \"Tools - developer tools\" or just press [F12] when you are in the jupyterlab tab of your browser. In the developer tools you can find the \"console\". If understand @SylvainCorlay right, you should get some output in this \"console\" when you run your jupyter cell."}}
other: {"actor":{"display_login":"scimax"}}