matplotlib 更新至 3.7,plot 出现错误
作者: GeraldYan创建于 2023年3月3日更新于 2024年5月6日
When plotting, an error will occur, `keyword grid_b is not recognized` According to the release notes of matplotlib3.7, > The first parameter of Axes.grid and Axis.grid has been renamed to visible The parameter was previously named b. This name change only matters if that parameter was passed using a keyword argument, e.g. grid(b=False). Therefore, in `rqalpha/mod/rqalpha_mod_sys_analyser/plot/plot.py`, grid(b=True...) needs to be modified to grid(True...)
内容来源: ricequant/rqalpha