(ip)
Load the extension in IPython.
Load the extension in IPython.
Load the extension in IPython .
def load_ipython_extension(ip):
    """Load the extension in IPython."""
    # Since Python filters deprecation warnings by default,
    # we add a filter to make sure this message will be shown.
    warnings.simplefilter("once", SymPyDeprecationWarning)
    SymPyDeprecationWarning(
        feature="using %load_ext sympy.interactive.ipythonprinting",
        useinstead="from sympy import init_printing ; init_printing()",
        deprecated_since_version="0.7.3",
        issue=7013
    ).warn()
    init_printing(ip=ip)
def load_ipython_extension ( ip ) : # Since Python filters deprecation warnings by default, # we add a filter to make sure this message will be shown. warnings . simplefilter ( "once" , SymPyDeprecationWarning ) SymPyDeprecationWarning ( feature = "using %load_ext sympy.interactive.ipythonprinting" , useinstead = "from sympy import init_printing ; init_printing()" , deprecated_since_version = "0.7.3" , issue = 7013 ) . warn ( ) init_printing ( ip = ip )