Skip to content

No '.embed' extension for Jupyter embedded pages #613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2016
Merged

No '.embed' extension for Jupyter embedded pages #613

merged 1 commit into from
May 31, 2016

Conversation

Nikolai-Hlubek
Copy link
Contributor

The fix for #581 by adding '.embed' to plotly_iframe breaks compatibility with Jupyter.

The '.embed' extension is not added in all necessary places: New files are saved without the extension, and than they can't be loaded, because the iframe expects the extension.

However fixing this would still not work with Jupyter, as Jupyter does not render files with the extension '.embed'. It only renders if the extension is html otherwise it shows the contents as text.

This commit is a possible suggestion that allows fix #581 to remain valid and saves graphs for Jupyter without '.embed' extension.

@cpsievert cpsievert merged commit 581f07e into plotly:master May 31, 2016
@cpsievert
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plotly_POST not embedding plot as expected
2 participants