Help us understand the problem. What is going on with this article?

JupyterLabでPlotlyのグラフを表示させる

More than 1 year has passed since last update.

問題

JupyterLabでPlotlyのグラフを表示させようとしても何も表示されない。

image.png

Jupyter Notebookでは有効な対処手段であるinit_notebook_modeを使っても効果がない。

image.png

解決法

JupyterLabにplotly-extensionなるものがあるので、それをInstallする必要がある。

jupyter labextension install @jupyterlab/plotly-extension

npmに依存しているので、installされていない場合はinstallしてください

結果

グラフが表示されました。

image.png

余談

JupyterLabの拡張機能はJupyterHubのそれと異なりだいぶ数が少ないですが、GitHubにjupyterlab-extensionというTopicがあります。PlotlyのRendererもこちらのTopicに含まれています。

その中でもjupyterlab-google-driveはRealTimeでGoogle Driveと連携できて素晴らしいと目を輝かせたのですが、

As of November 28th, 2017, Google has deprecated their Realtime API. Existing realtime applications (such as those you may have set up according to these instructions) will still work until December 2018, but new applications will not be able to use the Realtime API. See the discussions here and here for more information.

かなしい…

so-netmedia
機械学習技術でマーケティングを最適化するLogicad及びVALIS-Cockpitを開発
https://www.so-netmedia.jp
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした