Skip to content

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 intomatplotlib:mainfrom
maederan201:issue_11797
Open

Fix handling of linestyles to support str, on-off tuples and on-off tuples with an offset consistently#31047
maederan201 wants to merge 7 commits intomatplotlib:mainfrom
maederan201:issue_11797

Conversation

@maederan201
Copy link

@maederan201 maederan201 commented Jan 28, 2026

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

@maederan201
Copy link
Author

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

@maederan201 maederan201 marked this pull request as ready for review January 30, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants