【发布时间】:2021-09-16 21:22:29
【问题描述】:
我有以下代码: 从 pandas_datareader 以 web 形式导入数据
import pandas as pd
from datetime import timedelta
import mplfinance as mpf
import matplotlib as plt
df = web.DataReader('goog','yahoo', start="2021-07-3", end="2021-09-12")
mpf.plot(df, style='charles', type = 'candle', volume=True, figratio=(12,8), bbox_inches='tight')
bbox_inches='tight' 抛出错误:
KeyError: 'Unrecognized kwarg="bbox_inches"'
我怎样才能使利润紧缩?
【问题讨论】:
标签: python python-3.x keyerror mplfinance