[IPython-dev] Using IFrame with lastest checkout

Filipe Pires Alvarenga Fernandes ocefpaf at gmail.com
Wed Nov 5 07:42:25 EST 2014


Hi,

I used to display local HTML files (like folium maps generated in the
notebook itself) as an iframe in the notebook.  However, the latest
checkout IPython/Jupyter does not display the map, it opens a download
dialog instead.  I am wondering if this change is related to:

https://github.com/ipython/ipython/pull/6120

if so, I am unsure how to set the right headers['X-Frame-Options'] option.
I tried something like "
http://stackoverflow.com/questions/25327403/run-ipython-notebook-in-iframe-from-another-domain"
with no avail.

BTW, the HTML is located at he sub-directory.  If it I place it in the same
directory as the notebook everything works as expected.

Thanks for the attention,

-Filipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141105/78865a7d/attachment.html>


More information about the IPython-dev mailing list