Repository navigation
Conversation
timhoffm
reviewed
Oct 2, 2026
Comment on lines
+84
to
+87
| # | ||
| # The ``angle`` connection style measures ``angleA`` at the connection start | ||
| # (the text box) and ``angleB`` at the connection end (the annotated wedge). | ||
| # Both angles are measured counterclockwise from the positive x-axis. |
Member
There was a problem hiding this comment.
I would not add this here. It's too specific for the example, which primarily addresses pie, not connection styles, and only re-states the docstring. If anything, weave a link into the above description. But I think it still works without.
This branch has not been deployed
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #27181.
Summary
ConnectionStyle.AngleandAngle3measureangleAandangleBcounterclockwise from the positive x-axis at the start and end points, respectively.This is a documentation-only change; it does not alter the connection path or arrow rendering.
Tests
./.venv/bin/pytest -q lib/matplotlib/tests/test_arrow_patches.pyMPLBACKEND=Agg ./.venv/bin/python galleries/examples/pie_and_polar_charts/pie_and_donut_labels.pygit diff --checkpython -m compileall -q lib/matplotlib/patches.py galleries/examples/pie_and_polar_charts/pie_and_donut_labels.pyAI Disclosure
I used an AI coding assistant to help draft the documentation changes and verify the relevant source locations. I reviewed the changes and ran the tests listed above.