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

MNT: Discourage alternate strings for 'none' linestyle#29343

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

Conversation

timhoffm
Copy link
Member

@timhoffmtimhoffm commentedDec 18, 2024
edited
Loading

Inspired by but independent of the discussion around the representation of linestyles#29304.

For other linestyles we have a short visual representation (e.g. "--") and a name (e.g."dashed"). "No linestyle" currently has four accepted writings "", " ", "none", "None".

This PR recommends only to use "" (visual representation) and "none" (named representation). It discourages " " and "None". This should guide users towards more canonical usage. We may later decide whether to deprecate the alternatives.

Note also, that we have not used the alternatives in examples.

Inspired by but independent of the discussion around the representation of linestylesmatplotlib#29304.For other linestyles we have a short visual representation (e.g. "--") and a name (dashed "dashed"). No linestyle currently has four accepted writings "", " ", "none", "None".This PR recommends only to use "" (visual representation) and "none" (named representation). It discourages " " and "None".  This should guide users towards more canonical usage. We may later decide whether to deprecate the alternatives.Note also, that we have not used the alternatives in examples.
@timhoffmtimhoffmforce-pushed themnt-discourage-linestyle branch from39c609f to55320d3CompareDecember 19, 2024 08:26
@QuLogicQuLogic added this to thev3.11.0 milestoneDec 19, 2024
@story645story645 merged commita18354a intomatplotlib:mainDec 19, 2024
39 checks passed
@timhoffmtimhoffm deleted the mnt-discourage-linestyle branchDecember 19, 2024 12:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@story645story645story645 approved these changes

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

Successfully merging this pull request may close these issues.

3 participants
@timhoffm@QuLogic@story645

[8]ページ先頭

©2009-2025 Movatter.jp