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

Skip to content

Commit c7865f0

Browse files
committed
Drop the pad kwarg; figure out how to use it later.
1 parent 896880c commit c7865f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/text.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ def set_bbox(self, rectprops):
458458

459459
if rectprops is not None:
460460
props = rectprops.copy()
461+
# Dump the pad kwarg; we still need to figure out how to
462+
# use it to expand the box, for backwards compatibility.
463+
pad = props.pop('pad', 4) # noqa
461464
boxstyle = props.pop("boxstyle", "square")
462465
bbox_transmuter = props.pop("bbox_transmuter", None)
463466

0 commit comments

Comments
 (0)