Skip to content

Update matplotlib capstyle to use CapStyle object#776

Open
jnettels wants to merge 2 commits intoe2nIEE:developfrom
jnettels:fix/capstyle_setting
Open

Update matplotlib capstyle to use CapStyle object#776
jnettels wants to merge 2 commits intoe2nIEE:developfrom
jnettels:fix/capstyle_setting

Conversation

@jnettels
Copy link

@jnettels jnettels commented Jan 7, 2026

Setting self._capstyle to a string can break matplotlib, as discussed in #775. Using a CapStyle object, as it is done by matplotlib internally, seems to be the most obvious fix.

Fixes #775

jnettels and others added 2 commits January 7, 2026 14:07
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.

pandapipes import breaks matplotlib svg export

2 participants