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

ValueError: keyword grid_b when plotting histograms #32

Closed
semmyk-research opened this issue Mar 25, 2023 · 1 comment
Closed

ValueError: keyword grid_b when plotting histograms #32

semmyk-research opened this issue Mar 25, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@semmyk-research
Copy link

Notice an error when calling litstudy.plot_country_histogram(...) and any of the other plots based on plot_histogram
Dug and noticed the error is because of changes in matplotlib.

[observed]
All plots based on plot_histogram() throws: ValueError: keyword grid_b is not recognized
Apparently, this might be due to changes in matplotlib
## reproducibility: python==3.8.16, matplotlib==3.7.1

    ax.grid(b=False, which='both', axis='y')
    xlabel, ylabel = ylabel, xlabel
else:
    ax.grid(b=False, which='both', axis='x')
@stijnh
Copy link
Member

stijnh commented May 2, 2023

Thanks for using litstudy and thanks for the bug report!

This has been fixed as of ee27017

@stijnh stijnh closed this as completed May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants