Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT finance module is deprecated #7295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 18, 2016
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