Skip to content

Commit 1e16181

Browse files
Update lib/matplotlib/offsetbox.py
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 7845382 commit 1e16181

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/offsetbox.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,8 +1424,7 @@ def __init__(self, offsetbox, xy,
14241424
if bboxprops:
14251425
self.patch.set(**bboxprops)
14261426

1427-
if len(kwargs):
1428-
self.update(kwargs)
1427+
self.update(kwargs)
14291428

14301429
@property
14311430
def xyann(self):

0 commit comments

Comments
 (0)