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

Skip to content

Commit 465b26d

Browse files
committed
Fixed handling of ArrowStyle class input to set_arrowstyle function. Fixes #1812
1 parent f39cdb6 commit 465b26d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3906,7 +3906,7 @@ def set_arrowstyle(self, arrowstyle=None, **kw):
39063906
if arrowstyle is None:
39073907
return ArrowStyle.pprint_styles()
39083908

3909-
if isinstance(arrowstyle, ConnectionStyle._Base):
3909+
if isinstance(arrowstyle, ArrowStyle._Base):
39103910
self._arrow_transmuter = arrowstyle
39113911
else:
39123912
self._arrow_transmuter = ArrowStyle(arrowstyle, **kw)

0 commit comments

Comments
 (0)