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 #8

Open
enryH opened this issue Apr 23, 2021 · 2 comments
Open

matplotlib #8

enryH opened this issue Apr 23, 2021 · 2 comments

Comments

@enryH
Copy link
Collaborator

enryH commented Apr 23, 2021

Request was to add x-axis labels in plain matplotlib in the section "Combining Matplolib, Pandas and Seaborn".

There is already an example for the seaborn plot using matplotlib.axes.Axes.set_xticklabels

To add:

_ = ax.set_xticks(ticks=x)
_ = ax.set_xticklabels(labels=list(some_counts["Denmark"].keys()), rotation=45)
# _ = plt.xticks(ticks=x, labels=list(some_counts["Denmark"].keys()), rotation=45)
@enryH
Copy link
Collaborator Author

enryH commented Apr 23, 2021

@enryH
Copy link
Collaborator Author

enryH commented May 12, 2021

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

1 participant