Skip to content
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

matplotlib更新至3.7,plot报错 #772

Open
GeraldYan opened this issue Mar 3, 2023 · 1 comment
Open

matplotlib更新至3.7,plot报错 #772

GeraldYan opened this issue Mar 3, 2023 · 1 comment

Comments

@GeraldYan
Copy link

GeraldYan commented Mar 3, 2023

plot时会报错,keyword grid_b is not recognized
根据matplotlib3.7的release notes,

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).

所以, rqalpha/mod/rqalpha_mod_sys_analyser/plot/plot.py中的 grid(b=True...) 需要修改为grid(True...)

@Be11amy
Copy link

Be11amy commented May 6, 2024

It's still a problem...
ValueError: keyword grid_b is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir',...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants