1.从matplotlib 2.2.0开始,matplotlib已经不包含finance模块。可以使用mpl_finance进行替代。2.mpl_finance库需要手动安装。安装方法: 在命令行使用:pip install mpl_finance 安装就好。3.WARNING: `mpl_finance` is deprecatedlease use `mplfinance` instead (no hyphen, no underscore). To install: `pip install --upgrade mplfinance`
2.IndentationError:expected an indented block错误的解决办法?