Show More
@@ -1,32 +1,32 | |||||
1 | """ |
|
1 | """ | |
2 | **DEPRECATED** |
|
2 | **DEPRECATED** | |
3 |
|
3 | |||
4 | A print function that pretty prints sympy Basic objects. |
|
4 | A print function that pretty prints sympy Basic objects. | |
5 |
|
5 | |||
6 | :moduleauthor: Brian Granger |
|
6 | :moduleauthor: Brian Granger | |
7 |
|
7 | |||
8 | Usage |
|
8 | Usage | |
9 | ===== |
|
9 | ===== | |
10 |
|
10 | |||
11 | Once the extension is loaded, Sympy Basic objects are automatically |
|
11 | Once the extension is loaded, Sympy Basic objects are automatically | |
12 | pretty-printed. |
|
12 | pretty-printed. | |
13 |
|
13 | |||
14 | As of SymPy 0.7.2, maintenance of this extension has moved to SymPy under |
|
14 | As of SymPy 0.7.2, maintenance of this extension has moved to SymPy under | |
15 | sympy.interactive.ipythonprinting, any modifications to account for changes to |
|
15 | sympy.interactive.ipythonprinting, any modifications to account for changes to | |
16 | SymPy should be submitted to SymPy rather than changed here. This module is |
|
16 | SymPy should be submitted to SymPy rather than changed here. This module is | |
17 | maintained here for backwards compatablitiy with old SymPy versions. |
|
17 | maintained here for backwards compatablitiy with old SymPy versions. | |
18 |
|
18 | |||
19 | """ |
|
19 | """ | |
20 | #----------------------------------------------------------------------------- |
|
20 | #----------------------------------------------------------------------------- | |
21 | # Copyright (C) 2008 The IPython Development Team |
|
21 | # Copyright (C) 2008 The IPython Development Team | |
22 | #----------------------------------------------------------------------------- |
|
22 | #----------------------------------------------------------------------------- | |
23 |
|
23 | |||
24 | #----------------------------------------------------------------------------- |
|
24 | #----------------------------------------------------------------------------- | |
25 | # Imports |
|
25 | # Imports | |
26 | #----------------------------------------------------------------------------- |
|
26 | #----------------------------------------------------------------------------- | |
27 |
|
27 | |||
28 | import warnings |
|
28 | import warnings | |
29 |
|
29 | |||
30 | def load_ipython_extension(ip): |
|
30 | def load_ipython_extension(ip): | |
31 | warnings.warn("The sympyprinting extension as move to `sympy`, " |
|
31 | warnings.warn("The sympyprinting extension has moved to `sympy`, " | |
32 | "use `from sympy import init_printing; init_printing()`") |
|
32 | "use `from sympy import init_printing; init_printing()`") |
General Comments 0
You need to be logged in to leave comments.
Login now