environment/lib/python2.7/site-packages/IPython/extensions/sympyprinting.py
def print_png(o):
    """
    A function to display sympy expression using inline style LaTeX in PNG.
    """
    s = latex(o, mode='inline')
    # mathtext does not understand certain latex flags, so we try to replace
    # them with suitable subs.
    s = s.replace('\\operatorname','')
    s = s.replace('\\overline', '\\bar')
    png = latex_to_png(s)
    return png
def print_png(o):
    """
    A function to display sympy expression using inline style LaTeX in PNG.
    """
    s = latex(o, mode='inline')
    # mathtext does not understand certain latex flags, so we try to replace
    # them with suitable subs.
    s = s.replace('\\operatorname','')
    s = s.replace('\\overline', '\\bar')
    png = latex_to_png(s)
    return png
def print_png ( o ) : s = latex ( o , mode = 'inline' ) # mathtext does not understand certain latex flags, so we try to replace # them with suitable subs. s = s . replace ( '\\operatorname' , '' ) s = s . replace ( '\\overline' , '\\bar' ) png = latex_to_png ( s ) return png
A function to display sympy expression using inline style LaTeX in PNG.
A function to display sympy expression using inline style LaTeX in PNG .