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

Skip to content

Commit f478d0f

Browse files
committed
Fix TextWithDash not accepting all kwargs of Text
1 parent a34c617 commit f478d0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/text.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,7 @@ def __init__(self,
13551355
dashrotation=None,
13561356
dashpad=3,
13571357
dashpush=0,
1358+
**kwargs
13581359
):
13591360

13601361
Text.__init__(self, x=x, y=y, text=text, color=color,
@@ -1363,7 +1364,8 @@ def __init__(self,
13631364
multialignment=multialignment,
13641365
fontproperties=fontproperties,
13651366
rotation=rotation,
1366-
linespacing=linespacing)
1367+
linespacing=linespacing,
1368+
**kwargs)
13671369

13681370
# The position (x,y) values for text and dashline
13691371
# are bogus as given in the instantiation; they will

0 commit comments

Comments
 (0)