Skip to content

MNT: Prototype LineStyle object for Line2D (#30828) - #30832

Closed
DipayanDasgupta wants to merge 1 commit into
matplotlib:mainfrom
DipayanDasgupta:mnt-style-prototype
Closed

DipayanDasgupta wants to merge 1 commit into
matplotlib:mainfrom
DipayanDasgupta:mnt-style-prototype

Conversation

@DipayanDasgupta

Copy link
Copy Markdown

Connects to #30828

Prototype: LineStyle Container

This is a Proof of Concept implementing the proposal in #30828.

It introduces a LineStyle dataclass in lines.py and refactors Line2D to store linewidth inside this style object instead of directly on the instance.

This demonstrates that we can separate style data without changing the public API.

@timhoffm

Copy link
Copy Markdown
Member

This is premature. Let's first decide what exactly we want. c.f. #30828 (comment)

@timhoffm timhoffm closed this Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants