How to add an iframe to Jupyterlab cell output?

閲覧: 633 回
最初の未読メッセージにスキップ

Pavel Vasev

未読、
2018/05/03 17:18:292018/05/03
To: Project Jupyter

Hi everybody! I am a newbie in Jupyter[lab] world.


Could you please give me an advice?

  • I need to create my own command which may be typed in code input cell.
  • The result of the command should be an iframe opened in a output cell.
  • That iframe should load some html page (from local or remote web server).
  • The user should be able to interact with that webpage, and also open it in fullscreen.
  • At the moment it is not considered to be run in separate docked panel.
  • I need to interact with that page in terms of code interaction. It means, send some message from notebook to js in that page, and/or respond to requests from page js code to notebook.
  • In particular I need to send a list of notebook variables names to that webpage, and send some variables values requested by webpage.

How may I do this?


Many thanks in advance!

With Best Regards,

Pavel Vasev

Vidar Tonaas Fauske

未読、
2018/05/08 7:42:552018/05/08
To: jup...@googlegroups.com
Note that outputs can have a metadata flag "isolated" set to indicate that they should be rendered in an iframe. See e.g. https://github.com/jupyter/notebook/issues/3153 for other relevant things.

Pavel Vasev

未読、
2018/05/18 0:29:012018/05/18
To: jup...@googlegroups.com
Thank you, Vidar!

С уважением,
Павел Васёв

2018-05-08 16:42 GMT+05:00 Vidar Tonaas Fauske <vid...@gmail.com>:
Note that outputs can have a metadata flag "isolated" set to indicate that they should be rendered in an iframe. See e.g. https://github.com/jupyter/notebook/issues/3153 for other relevant things.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CADZ1C%3DyDKL%2BYz18_f2niFOCtSxiMksYJBo7-joNHyi8mTKiO2Q%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

全員に返信
投稿者に返信
転送
新着メール 0 件