Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitc7865f0

Browse files
committed
Drop the pad kwarg; figure out how to use it later.
1 parent896880c commitc7865f0

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
ifrectpropsisnotNone:
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)

[8]ページ先頭

©2009-2025 Movatter.jp