Skip to content

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Jun 10, 2023

PR summary

Points with CLOSEPOLY or STOP codes have vertex values that are meaningless, but the marker bounding box calculation still counts them. This causes several markers to not be correctly centred as expected.

Fixes #26083

PR checklist

Points with `CLOSEPOLY` or `STOP` codes have vertex values that are
meaningless, but the marker bounding box calculation still counts them.
This causes several markers to not be correctly centred as expected.

Fixes matplotlib#26083
@ksunden
Copy link
Member

ksunden commented Jun 10, 2023

This is what the example from #26083 provides with the change (copying here for reference):

image

@oscargus oscargus merged commit 5f29763 into matplotlib:main Jun 10, 2023
@QuLogic QuLogic deleted the text-marker-centre branch June 12, 2023 19:14
@QuLogic QuLogic added this to the v3.8.0 milestone Jun 12, 2023
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.

[Bug]: Star marker (using mathtext) is not center-aligned
3 participants