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

Skip to content

Commit 04e091c

Browse files
committed
fix typo
svn path=/trunk/matplotlib/; revision=3350
1 parent 384992f commit 04e091c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,8 +1056,8 @@ def add_line(self, line):
10561056
line.set_clip_box(self.bbox)
10571057

10581058
self._update_line_limits(line)
1059-
if not l.get_label():
1060-
l.set_label('_line%d'%len(self.lines))
1059+
if not line.get_label():
1060+
line.set_label('_line%d'%len(self.lines))
10611061
self.lines.append(line)
10621062

10631063
def _update_line_limits(self, line):

0 commit comments

Comments
 (0)