【发布时间】:2017-06-22 13:24:49
【问题描述】:
收到此错误消息:
MatplotlibDeprecationWarning: The finance module has been deprecated in mpl 2.0 and will be removed in mpl 2.2. Please use the module mpl_finance instead.
我该如何放置mpl_finance 包。我已经将它安装在 pip 中,但是正确的导入用语是什么?
import datetime as dt
import matplotlib.pyplot as plt
from matplotlib import style
from matplotlib.finance import candlestick_ohlc
import matplotlib.dates as mdates
import pandas as pd
import pandas_datareader.data as web
from googlefinance import getQuotes
import json
from datetime import datetime
from forex_python.converter import CurrencyRates
from yahoo_finance import Share
【问题讨论】:
标签: python pandas matplotlib google-finance