Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c74365f

Browse filesBrowse files
authored
Merge pull request #27947 from thehappycheese/main
Update docs for `FancyArrowPatch` & `Annotation` to make it clear that ShinkA/B parameters are in points and not fractional.
2 parents 5300bd6 + ab407de commit c74365f
Copy full SHA for c74365f

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎lib/matplotlib/patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/patches.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4189,7 +4189,7 @@ def __init__(self, posA=None, posB=None, *,
41894189
Head and tail patches, respectively.
41904190
41914191
shrinkA, shrinkB : float, default: 2
4192-
Shrinking factor of the tail and head of the arrow respectively.
4192+
Shrink amount, in points, of the tail and head of the arrow respectively.
41934193
41944194
mutation_scale : float, default: 1
41954195
Value with which attributes of *arrowstyle* (e.g., *head_length*)

‎lib/matplotlib/text.py

Copy file name to clipboardExpand all lines: lib/matplotlib/text.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,8 +1767,8 @@ def transform(renderer) -> Transform
17671767
relpos See below; default is (0.5, 0.5)
17681768
patchA Default is bounding box of the text
17691769
patchB Default is None
1770-
shrinkA Default is 2 points
1771-
shrinkB Default is 2 points
1770+
shrinkA In points. Default is 2 points
1771+
shrinkB In points. Default is 2 points
17721772
mutation_scale Default is text size (in points)
17731773
mutation_aspect Default is 1
17741774
? Any `.FancyArrowPatch` property

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.