Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions lib/matplotlib/finance.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
"""
A collection of functions for collecting, analyzing and plotting
financial data. User contributions welcome!

This module is deprecated in 1.4 and will be moved to `mpl_toolkits`
or it's own project in the future.
financial data.

This module is deprecated in 2.0 and has been moved to a mpl_toolkit called
`finance`.
"""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
Expand All @@ -23,12 +22,18 @@

from matplotlib import colors as mcolors, verbose, get_cachedir
from matplotlib.dates import date2num
from matplotlib.cbook import iterable, mkdirs
from matplotlib.cbook import iterable, mkdirs, warn_deprecated
from matplotlib.collections import LineCollection, PolyCollection
from matplotlib.lines import Line2D, TICKLEFT, TICKRIGHT
from matplotlib.patches import Rectangle
from matplotlib.transforms import Affine2D

warn_deprecated(
since=2.0,
message=("The finance module has been deprecated in mpl 2.0 and will "
"be removed in mpl 2.2. Please use the matplotlib toolkit "
"finance instead."))


if six.PY3:
import hashlib
Expand Down