KKlalala
KKlalala

Reputation: 975

plotly/python- how to embed newest plot on your website

I want to include a plot from plotly on my website.

Now I have this: (as from their website)

  <iframe  width=750 height=500 frameborder=”0” seamless=”seamless” scrolling=”no” src='https://plot.ly/~zfrancica/66/machine-worn-percenatage/'> </iframe>

But I can only get a specific plot. I call in the backend to generate a new picture every time I refresh the webpage and data may change.

How should I get the newest plot in my account?

Upvotes: 0

Views: 57

Answers (1)

kun
kun

Reputation: 4237

If I understand your question correctly you probably need a timer in javascript periodically checks the backend for a new plot

Upvotes: 1

Related Questions