Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mpld3は、matplotlib の図をインタラクティブな HTML ファイルに非常に迅速に変換するのに最適です。必要なコードは 1 行だけです。
mpld3.save_html(fig,filename)
一方、 bokehは、bokeh コマンドで Figure コードを書き直す必要があります。ただし、mpld3 は、ズームとパンに加えて、非常に便利で基本的なツール「保存」を提供していません。
誰かがこのツールを追加する簡単な方法を見つけましたか?