'Create a :class:`~matplotlib.lines.Line2D` instance with *x*
and *y* data in sequences *xdata*, *ydata*.
The kwargs are :class:`~matplotlib.lines.Line2D` properties:
%(Line2D)s
See :meth:`set_linestyle` for a decription of the line styles,
:meth:`set_marker` for a description of the markers, and
:meth:`set_drawstyle` for a description of the draw styles.'

def __init__(self, xdata, ydata, linewidth=None, linestyle=None, color=None, marker=None, markersize=None, markeredgewidth=None, markeredgecolor=None, markerfacecolor=None, markerfacecoloralt=u'none', fillstyle=None, antialiased=None, dash_capstyle=None, solid_capstyle=None, dash_joinstyle=None, solid_joinstyle=None, pickradius=5, drawstyle=None, markevery=None, **kwargs):

    Artist.__init__(self)
    if (not iterable(xdata)):
        raise RuntimeError(u'xdata    must    be    a    sequence')
    if (not iterable(ydata)):
        raise RuntimeError(u'ydata    must    be    a    sequence')
    if (linewidth is None):
        linewidth = rcParams[u'lines.linewidth']
    if (linestyle is None):
        linestyle = rcParams[u'lines.linestyle']
    if (marker is None):
        marker = rcParams[u'lines.marker']
    if (color is None):
        color = rcParams[u'lines.color']
    if (markersize is None):
        markersize = rcParams[u'lines.markersize']
    if (antialiased is None):
        antialiased = rcParams[u'lines.antialiased']
    if (dash_capstyle is None):
        dash_capstyle = rcParams[u'lines.dash_capstyle']
    if (dash_joinstyle is None):
        dash_joinstyle = rcParams[u'lines.dash_joinstyle']
    if (solid_capstyle is None):
        solid_capstyle = rcParams[u'lines.solid_capstyle']
    if (solid_joinstyle is None):
        solid_joinstyle = rcParams[u'lines.solid_joinstyle']
    if isinstance(linestyle, six.string_types):
        (ds, ls) = self._split_drawstyle_linestyle(linestyle)
        if ((ds is not None) and (drawstyle is not None) and (ds != drawstyle)):
            raise ValueError(u'Inconsistent    drawstyle    ({0!r})    and    linestyle    ({1!r})'.format(drawstyle, linestyle))
        linestyle = ls
        if (ds is not None):
            drawstyle = ds
    if (drawstyle is None):
        drawstyle = u'default'
    self._dashcapstyle = None
    self._dashjoinstyle = None
    self._solidjoinstyle = None
    self._solidcapstyle = None
    self.set_dash_capstyle(dash_capstyle)
    self.set_dash_joinstyle(dash_joinstyle)
    self.set_solid_capstyle(solid_capstyle)
    self.set_solid_joinstyle(solid_joinstyle)
    self._linestyles = None
    self._drawstyle = None
    self._linewidth = linewidth
    self._dashSeq = None
    self._dashOffset = 0
    self._us_dashSeq = None
    self._us_dashOffset = 0
    self.set_linestyle(linestyle)
    self.set_drawstyle(drawstyle)
    self.set_linewidth(linewidth)
    self._color = None
    self.set_color(color)
    self._marker = MarkerStyle(marker, fillstyle)
    self._markevery = None
    self._markersize = None
    self._antialiased = None
    self.set_markevery(markevery)
    self.set_antialiased(antialiased)
    self.set_markersize(markersize)
    self._markeredgecolor = None
    self._markeredgewidth = None
    self._markerfacecolor = None
    self._markerfacecoloralt = None
    self.set_markerfacecolor(markerfacecolor)
    self.set_markerfacecoloralt(markerfacecoloralt)
    self.set_markeredgecolor(markeredgecolor)
    self.set_markeredgewidth(markeredgewidth)
    self.verticalOffset = None
    self.update(kwargs)
    self.pickradius = pickradius
    self.ind_offset = 0
    if is_numlike(self._picker):
        self.pickradius = self._picker
    self._xorig = np.asarray([])
    self._yorig = np.asarray([])
    self._invalidx = True
    self._invalidy = True
    self._x = None
    self._y = None
    self._xy = None
    self._path = None
    self._transformed_path = None
    self._subslice = False
    self._x_filled = None
    self.set_data(xdata, ydata)
