##// END OF EJS Templates
Merge pull request #10948 from pkgw/avoid-glib-warning...
Merge pull request #10948 from pkgw/avoid-glib-warning Avoid PyGIDeprecationWarning when using Gtk3 backend.

File last commit:

r21495:d2f74cd6
r24102:38e0033a merge
Show More
sympyprinting.py
32 lines | 1.0 KiB | text/x-python | PythonLexer
Pauli Virtanen
DOC: extensions: add documentation for the bundled extensions
r4888 """
Matthias Bussonnier
Remove old deprecated extensions....
r21453 **DEPRECATED**
Pauli Virtanen
DOC: extensions: add documentation for the bundled extensions
r4888 A print function that pretty prints sympy Basic objects.
:moduleauthor: Brian Granger
Usage
=====
Once the extension is loaded, Sympy Basic objects are automatically
pretty-printed.
Brian Granger
Display system is fully working now....
r3278
Sean Vig
Add deprecation warnings for sympyprinting...
r8574 As of SymPy 0.7.2, maintenance of this extension has moved to SymPy under
sympy.interactive.ipythonprinting, any modifications to account for changes to
SymPy should be submitted to SymPy rather than changed here. This module is
maintained here for backwards compatablitiy with old SymPy versions.
Brian Granger
Display system is fully working now....
r3278 """
#-----------------------------------------------------------------------------
Takafumi Arakaki
Copyright fix on sympyprinting.py and latextools.py...
r7311 # Copyright (C) 2008 The IPython Development Team
Brian Granger
Display system is fully working now....
r3278 #-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
Sean Vig
Add deprecation warnings for sympyprinting...
r8574 import warnings
Brian Granger
Display system is fully working now....
r3278 def load_ipython_extension(ip):
Matthias Bussonnier
Typo in sympyprinting `as move`-> `has moved`
r21495 warnings.warn("The sympyprinting extension has moved to `sympy`, "
Matthias Bussonnier
No longer deprecated. Removed.
r21483 "use `from sympy import init_printing; init_printing()`")