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

Skip to content

Commit 7524345

Browse files
committed
fix legend prop bug; yoffset not a prop
svn path=/trunk/matplotlib/; revision=6281
1 parent 0c3410e commit 7524345

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/legend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ def __init__(self, parent, handles, labels,
119119
Artist.__init__(self)
120120

121121
proplist=[numpoints, pad, borderpad, markerscale, labelsep,
122-
handlelen, handletextsep, axespad, shadow, scatteryoffsets]
122+
handlelen, handletextsep, axespad, shadow]
123123
propnames=['numpoints', 'pad', 'borderpad', 'markerscale', 'labelsep',
124-
'handlelen', 'handletextsep', 'axespad', 'shadow', 'scatteryoffsets']
124+
'handlelen', 'handletextsep', 'axespad', 'shadow']
125125
for name, value in safezip(propnames,proplist):
126126
if value is None:
127127
value=rcParams["legend."+name]

0 commit comments

Comments
 (0)