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

Skip to content

Commit 9550c94

Browse files
committed
Fix PatchCollection bug found by Ryan May
svn path=/trunk/matplotlib/; revision=5764
1 parent 032cc0c commit 9550c94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ def __init__(self, patches, match_original=False, **kwargs):
888888

889889
if match_original:
890890
def determine_facecolor(patch):
891-
if patch.fill():
891+
if patch.fill:
892892
return patch.get_facecolor()
893893
return [0, 0, 0, 0]
894894

0 commit comments

Comments
 (0)