File tree 1 file changed +10
-5
lines changed 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
2
A collection of functions for collecting, analyzing and plotting
3
- financial data. User contributions welcome!
4
-
5
- This module is deprecated in 1.4 and will be moved to `mpl_toolkits`
6
- or it's own project in the future.
3
+ financial data.
7
4
5
+ This module is deprecated in 2.0 and has been moved to a mpl_toolkit called
6
+ `finance`.
8
7
"""
9
8
from __future__ import (absolute_import , division , print_function ,
10
9
unicode_literals )
23
22
24
23
from matplotlib import colors as mcolors , verbose , get_cachedir
25
24
from matplotlib .dates import date2num
26
- from matplotlib .cbook import iterable , mkdirs
25
+ from matplotlib .cbook import iterable , mkdirs , warn_deprecated
27
26
from matplotlib .collections import LineCollection , PolyCollection
28
27
from matplotlib .lines import Line2D , TICKLEFT , TICKRIGHT
29
28
from matplotlib .patches import Rectangle
30
29
from matplotlib .transforms import Affine2D
31
30
31
+ warn_deprecated (
32
+ since = 2.0 ,
33
+ message = ("The finance module has been deprecated in mpl 2.0 and will "
34
+ "be removed in mpl 2.2. Please use the matplotlib toolkit "
35
+ "finance instead." ))
36
+
32
37
33
38
if six .PY3 :
34
39
import hashlib
You can’t perform that action at this time.
0 commit comments