You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this must be an issue with plotly_POST? It should return the URL of an embed plot, not the whole page. By the way, this behaviour must have changed quite recently because the very same plotly_POST(...) call produced a properly embedded plot just a month ago.
The text was updated successfully, but these errors were encountered:
So this is a little weird, and I haven't been able to figure it out after reading the documentation (1, 2, 3, 4).
I generated a plot using ggplot2, which I then embed in a R Markdown document published as HTML on the web (Jekyll blog, but that's beside the point).
This produces the following HTML:
Which does not produce the expected result, i.e., an embedded plot, but instead embeds the entire Plotly page (see below).

I confirmed that the URL in the iframe above is in fact the output of
plotly_POST
,and I think I can confirm that Plotly shows the embed only when appending
.embed
to the URL (the HTML below produces the expected embedded plot):I think this must be an issue with
plotly_POST
? It should return the URL of an embed plot, not the whole page. By the way, this behaviour must have changed quite recently because the very sameplotly_POST(...)
call produced a properly embedded plot just a month ago.The text was updated successfully, but these errors were encountered: