Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use set_xticks(ticks, labels) instead of a separate set_xticklabels()#20636

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
story645 merged 1 commit intomatplotlib:masterfromtimhoffm:doc-xticks-labels
Jul 14, 2021

Conversation

timhoffm
Copy link
Member

PR Summary

Split out of#20631 for easier review.

ax2.set_yticks(pos)
# Set the tick locations and labels
ax2.set_yticks(
pos, labels=[format_score(scores[k].score, k) for k in test_names])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

not sure if wrapping format_score in a funcformatter would be helpful here or there's already too much going on in this example

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

There are some more cleanups to be done in that example. I've made a note to have a look at it later. For simplicity, I'll keep this PR as is.

story645 reacted with thumbs up emoji
@story645story645 merged commited4f814 intomatplotlib:masterJul 14, 2021
@timhoffmtimhoffm deleted the doc-xticks-labels branchJuly 14, 2021 15:37
@QuLogicQuLogic added this to thev3.5.0 milestoneJul 14, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@story645story645story645 approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.5.0
Development

Successfully merging this pull request may close these issues.

3 participants
@timhoffm@story645@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp