def add_line(self, line):
self._set_artist_props(line)<EOL>line.set_clip_path(self.patch)<EOL>self._update_line_limits(line)<EOL>if not line.get_label():<EOL><INDENT>line.set_label('<STR_LIT>'%len(self.lines))<EOL><DEDENT>self.lines.append(line)<EOL>line._remove_method = lambda h: self.lines.remove(h)<EOL>
Add a :class:`~matplotlib.lines.Line2D` to the list of plot
lines