8000 Clarify tiny comment re: AnnotationBbox constructor. · matplotlib/matplotlib@1fe47b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1fe47b0

Browse files
committed
Clarify tiny comment re: AnnotationBbox constructor.
`pad` is forwarded to a FancyBboxPatch, not a BboxPatch, which is a different (unrelated) class...
1 parent 7bae46c commit 1fe47b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/offsetbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ def __init__(self, offsetbox, xy,
14281428
xybox=None,
14291429
xycoords='data',
14301430
boxcoords=None,
1431-
frameon=True, pad=0.4, # BboxPatch
1431+
frameon=True, pad=0.4, # FancyBboxPatch boxstyle.
14321432
annotation_clip=None,
14331433
box_alignment=(0.5, 0.5),
14341434
bboxprops=None,

0 commit comments

Comments
 (0)
0