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

DOC: Slightly further improve arrowstyle demo#29801

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
timhoffm merged 1 commit intomatplotlib:mainfromtimhoffm:doc-arrowstyle
Mar 27, 2025

Conversation

timhoffm
Copy link
Member

@timhoffmtimhoffm commentedMar 24, 2025
edited
Loading

  • use straight lines for the arrows - the previous curved lines are distracting since this is only about the arrowstyle
  • use monospace font for the style names
  • adjust positions and colors so that the arrows stand out more

@github-actionsgithub-actionsbot added the Documentation: examplesfiles in galleries/examples labelMar 24, 2025
Copy link
Member

@story645story645 left a comment

Choose a reason for hiding this comment

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

I kinda want a box around each entry but not sure that it would make things clearer.

l, = ax.plot(1, 0, "o", color="grey")
ax.annotate(stylename, (1, 0), (0, 0),
size="large", color="tab:blue", ha="center", va="center",
l, = ax.plot(1.25, 0, "o", color="lightgrey")
Copy link
Member

Choose a reason for hiding this comment

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

can this be like one or two shades darker?

timhoffm reacted with thumbs up emoji
@timhoffm
Copy link
MemberAuthor

timhoffm commentedMar 25, 2025
edited
Loading

I kinda want a box around each entry but not sure that it would make things clearer.

Not sure that's better. It looks more imbalanced because the number of parameters vary strongly.

grafik

@story645
Copy link
Member

what about a faded or dotted grid? I like the boundaries but I get how here it starts looking cluttered

@timhoffm
Copy link
MemberAuthor

Feel free to play around if you like. But I think if we add boxes, we need another approach to the titles. They don't really make sense in large boxes.

@QuLogic
Copy link
Member

The boxes don't really work there. At most, I'd say a line down the middle could work.

@jklymak
Copy link
Member

I wouldn't include boxes. I'd add a bit more wspace between the columns.

Why are AngleA and AngleB all specified in these but set to zero?

The constructor for the axs is needlessly complex.

@timhoffm
Copy link
MemberAuthor

Why are AngleA and AngleB all specified in these but set to zero?

Do you mean the parameter blocks in the rendered figure? That's

Each style can be configured with a set of parameters, which are stated along with
their default values.

jklymak reacted with thumbs up emojijklymak reacted with eyes emoji

- use straight lines- use monospace font for the style names- adjust positions and colors so that the arrows stand out more
Copy link
Member

@jklymakjklymak left a comment

Choose a reason for hiding this comment

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

Feel free to self merge if you feel you've dealt with everything.

@timhoffmtimhoffm added this to thev3.10-doc milestoneMar 27, 2025
@timhoffmtimhoffm merged commit05663f7 intomatplotlib:mainMar 27, 2025
22 checks passed
@timhoffmtimhoffm deleted the doc-arrowstyle branchMarch 27, 2025 23:14
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMar 27, 2025
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMar 27, 2025
QuLogic added a commit that referenced this pull requestMar 28, 2025
…801-on-v3.10.xBackport PR#29801 on branch v3.10.x (DOC: Slightly further improve arrowstyle demo)
QuLogic added a commit that referenced this pull requestMar 28, 2025
…801-on-v3.10.1-docBackport PR#29801 on branch v3.10.1-doc (DOC: Slightly further improve arrowstyle demo)
@ksundenksunden mentioned this pull requestMay 9, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@story645story645story645 left review comments

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
Documentation: examplesfiles in galleries/examples
Projects
None yet
Milestone
v3.10-doc
Development

Successfully merging this pull request may close these issues.

4 participants
@timhoffm@story645@QuLogic@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp