plotlyshare

plotlyshare

pu239

25 Users

Link-based sharing of `plotly` plots with a private web app

app preview

plotlyshare

The purpose of this package is to provide a seamless way to share interactive plotly plots, providing a similar experience to google docs/etc.

This requires installing a python package of the same name - pip install plotlyshare Find it on PyPI!.

The idea is to preserve the interactivity and responsiveness of plotly plots with the ease of link-based sharing and without all the hassle of sending an html file, or worse, a static image/document.

To use this, first run python -m plotlyshare setup and then whenever making a plot,

...
import plotly.express as px
import plotly.graph_objects as go
import plotlyshare
...
fig = px.line(...)
fig = go.Figure(...)
fig.show(renderer='plotlyshare')

and that's it, the package will upload your plot to your instance of plotlyshare running in deta space and assign it a randomly generated name (which can be edited from the app's page) It will print the name that was generated and the direct link to the plot, ready to share with anyone.

Web-App Routes

  • / - This route serves as your home page, where all your plots are visible
  • /plot/<plot_id> - This public unique page is made for each plot and displays the plot with the corresponding id. It also displays how many users are active at a given moment (accurate to 10s on desktop and 10min on mobile).

What's new?

fix discovery page doc

Version

latest (1.0.7-hotfix)

Total Installs

25

Report app to Deta