Skip to content

mknz/plotly-viewer

Repository files navigation

Plotly Viewer

Quickstart

git clone https://github.com/mknz/plotly-viewer
cd ./plotly-viewer
sudo make install

This installs ipython-plotly-viewer command and savefig in IPython startup function.

ipython-plotly-viewer

The command launches IPython with Plotly viewer and server. You can save Plotly figure by passing it to savefig function.

>>> savefig(px.imshow(np.random.random((10, 10))))
>>> savefig px.imshow(np.random.random((10, 10)))  # With %autocall

Above command saves figure data to plotly_figs directory with timestamp filename.

Uninstall

sudo make uninstall

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published