8000 Merge pull request #1913 from cimarronm/settingarrowstylefix · cirosantilli/matplotlib@6e05499 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e05499

Browse files
committed
Merge pull request matplotlib#1913 from cimarronm/settingarrowstylefix
Fix for issue matplotlib#1812 - support for passing arrow style class instances to FancyArrorwPatch.
2 parents 3c5bd38 + b323e44 commit 6e05499

File tree

5 files changed

+1125
-357
lines changed

5 files changed

+1125
-357
lines changed

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)
Binary file not shown.
Loading

0 commit comments

Comments
 (0)
0