0

I would like to create a cell magic in IPython that can return more than one DisplayObject as its result. Specifically, it should return some HTML in the notebook, but I also want a text/python output so that if the notebook is save as Python there will be some plain executable Python code that accomplished the same thing in the resulting script.

Is there a way to do this?

Graham Wheeler
  • 2,734
  • 1
  • 19
  • 23

0 Answers0