FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix handling of linestyles to support str, on-off tuples and on-off tuples with an offset consistently by maederan201 · Pull Request #31047 · matplotlib/matplotlib · GitHub

Repository navigation

Fix handling of linestyles to support str, on-off tuples and on-off tuples with an offset consistently - #31047

Open
maederan201 wants to merge 7 commits into
matplotlib:mainfrom
maederan201:issue_11797
Open

maederan201 wants to merge 7 commits into
matplotlib:mainfrom
maederan201:issue_11797

Conversation

maederan201 commented Jan 28, 2026 •
edited
Loading

Copy link
Copy Markdown

PR summary

This should close #11797, which points out inconsistencies when handling linestyles through different routes. The issue is resolved by introducing additional if statements to properly distinguish between the three cases.

Currently, not all the tests pass, I nonetheless submit this PR to get things going.

PR checklist

Copy link
Copy Markdown
Author

The final bugs should be fixed and this PR is ready for review

maederan201 marked this pull request as ready for review January 30, 2026 07:28
melissawm added API: consistency Consistency of the matplotlib API, including naming, behavior, defaults, … topic: rcparams labels Jan 30, 2026

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: consistency Consistency of the matplotlib API, including naming, behavior, defaults, …

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

About linestyles: tuple not accepted in rc param file and other inconsistencies

3 participants


Back | FazBrowse Home | New Git URL