File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ original location:
47
47
- mstream -> `from matplotlib import stream as mstream `
48
48
- mtable -> `from matplotlib import table as mtable `
49
49
50
+ * The Sphinx extensions `ipython_directive ` and
51
+ `ipython_console_highlighting ` have been moved to the IPython
52
+ project itself. While they remain in matplotlib for this release,
53
+ they have been deprecated. Update your extensions in `conf.py ` to
54
+ point to `IPython.sphinxext.ipython_directive ` instead of
55
+ `matplotlib.sphinxext.ipython_directive `.
50
56
51
57
* In :module: `~matplotlib.finance `, almost all functions have been deprecated and
52
58
replaced with a pair of functions name `*_ochl ` and `*_ohlc `. The former is
Original file line number Diff line number Diff line change 22
22
from pygments .token import Comment , Generic
23
23
24
24
from sphinx import highlighting
25
+ import matplotlib
26
+
27
+ matplotlib .cbook .warn_deprecated ("1.4" , """
28
+ The Sphinx extension ipython_console_highlighting has moved from
29
+ matplotlib to IPython, and its use in matplotlib is deprecated.
30
+ Change your import from 'matplotlib.sphinxext.ipython_directive' to
31
+ 'IPython.sphinxext.ipython_directive.""" )
25
32
26
33
#-----------------------------------------------------------------------------
27
34
# Global constants
Original file line number Diff line number Diff line change 80
80
81
81
matplotlib .use ('Agg' )
82
82
83
+ matplotlib .cbook .warn_deprecated ("1.4" , """
84
+ The Sphinx extension ipython_console_highlighting has moved from
85
+ matplotlib to IPython, and its use in matplotlib is deprecated.
86
+ Change your import from 'matplotlib.sphinxext.ipython_directive' to
87
+ 'IPython.sphinxext.ipython_directive.""" )
88
+
83
89
# Our own
84
90
try :
85
91
from IPython import Config , InteractiveShell
You can’t perform that action at this time.
0 commit comments