問題タブ [plotly]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
3 に答える
13947 参照

python - How to prevent plotly from plotting automatically

I just discovered plotly and like it so far. I have this code provided by the main website

#xA;

I am curious about two things:

1) When I run this code, my browser automatically pops up and shows me the graph. All I want is the url so that I can later embed it in an html file. Is there a way to turn off the feature that opens my browser and shows me the graph?

2) Is there a way to get rid of the 'Play with this data' link?

I have combed through the documentation provided, but have come up empty-handed on these two issues.

0 投票する
1 に答える
496 参照

python - Pythonで2つの異なるソースからのオンラインデータをプロットするにはどうすればよいですか?

この方法で、2 つの異なるソースからのオンライン データをプロットしようとしています。

各反復で:

1] 最初のソース: 入力データをグラフに追加します。

2] 2 番目のソース: 前のデータを削除し、グラフ内の受信データのみを保持します。

プロットしようとしましたが、問題は、プロットされたデータを削除できないことです(2番目のソースからの受信データにはこれが必要です)。

アップデート:

@WakkaDojo の回答に触発されたのは、malplotlib.animationを使用した最終的なコードです。

0 投票する
1 に答える
246 参照

r - Knitr と plotly を使用して html ドキュメントに表面プロットを埋め込むにはどうすればよいですか?

以下の R Markdown (Rmd) コードは、表面プロットが埋め込まれた html ドキュメントを生成するはずです。

ドキュメントはコードが埋め込まれた出力を作成しますが、プロットはありません。というエラーメッセージが表示されるだけです。

「おっと、サーバーでエラーが発生しました。」

ここで何が起こっているのか分かりますか?