ó
ćNXc           @   sj   d  Z  d d l m Z m Z m Z m Z m Z d d l m Z m	 Z	 m
 Z
 e	 d e f d     Y Z d S(   s!   Simple magics for display formatsi˙˙˙˙(   t   displayt
   Javascriptt   Latext   SVGt   HTML(   t   Magicst   magics_classt
   cell_magict   DisplayMagicsc           B   sJ   e  Z d  Z e d    Z e d    Z e d    Z e d    Z RS(   sŔ   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.
    c         C   s   t  t |   d S(   s%   Run the cell block of Javascript codeN(   R    R   (   t   selft   linet   cell(    (    sS   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/magics/display.pyt
   javascript!   s    c         C   s   t  t |   d S(   s#   Render the cell as a block of latexN(   R    R   (   R	   R
   R   (    (    sS   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/magics/display.pyt   latex'   s    c         C   s   t  t |   d S(   s!   Render the cell as an SVG literalN(   R    R   (   R	   R
   R   (    (    sS   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/magics/display.pyt   svg,   s    c         C   s   t  t |   d S(   s"   Render the cell as a block of HTMLN(   R    R   (   R	   R
   R   (    (    sS   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/magics/display.pyt   html1   s    (   t   __name__t
   __module__t   __doc__R   R   R   R   R   (    (    (    sS   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/magics/display.pyR      s
   N(   R   t   IPython.core.displayR    R   R   R   R   t   IPython.core.magicR   R   R   R   (    (    (    sS   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/magics/display.pyt   <module>   s   (	