Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: core.magics.display
¶
Simple magics for display formats
1 Class¶
-
class
IPython.core.magics.display.
DisplayMagics
(shell=None, **kwargs)¶ Bases:
IPython.core.magic.Magics
Magics for displaying various output types with literals
Defines javascript/latex/svg/html cell magics for writing blocks in those languages, to be rendered in the frontend.
-
html
(line, cell)¶ Render the cell as a block of HTML
-
javascript
(line, cell)¶ Run the cell block of Javascript code
-
latex
(line, cell)¶ Render the cell as a block of latex
-
svg
(line, cell)¶ Render the cell as an SVG literal
-