Thanks to visit codestin.com
Credit goes to github.com

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)