Skip to content

Commit

Permalink
Merge pull request #1913 from cimarronm/settingarrowstylefix
Browse files Browse the repository at this point in the history
Fix for issue #1812 - support for passing arrow style class instances to FancyArrorwPatch.
  • Loading branch information
pelson committed Apr 18, 2013
2 parents 3c5bd38 + b323e44 commit 6e05499
Show file tree
Hide file tree
Showing 5 changed files with 1,125 additions and 357 deletions.
2 changes: 1 addition & 1 deletion lib/matplotlib/patches.py
Expand Up @@ -3906,7 +3906,7 @@ def set_arrowstyle(self, arrowstyle=None, **kw):
if arrowstyle is None:
return ArrowStyle.pprint_styles()

if isinstance(arrowstyle, ConnectionStyle._Base):
if isinstance(arrowstyle, ArrowStyle._Base):
self._arrow_transmuter = arrowstyle
else:
self._arrow_transmuter = ArrowStyle(arrowstyle, **kw)
Expand Down
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e05499

Please sign in to comment.