|
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 | frommatplotlibimportcolorsasmcolors,verbose,get_cachedir
|
25 | 24 | frommatplotlib.datesimportdate2num
|
26 |
| -frommatplotlib.cbookimportiterable,mkdirs |
| 25 | +frommatplotlib.cbookimportiterable,mkdirs,warn_deprecated |
27 | 26 | frommatplotlib.collectionsimportLineCollection,PolyCollection
|
28 | 27 | frommatplotlib.linesimportLine2D,TICKLEFT,TICKRIGHT
|
29 | 28 | frommatplotlib.patchesimportRectangle
|
30 | 29 | frommatplotlib.transformsimportAffine2D
|
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 | ifsix.PY3:
|
34 | 39 | importhashlib
|
|