def vlines(self, x, ymin, ymax, colors='<STR_LIT:k>', linestyles='<STR_LIT>',<EOL>label='<STR_LIT>', **kwargs):
if kwargs.get('<STR_LIT>') is not None:<EOL><INDENT>raise DeprecationWarning('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>self._process_unit_info(xdata=x, ydata=ymin, kwargs=kwargs)<EOL>x = self.convert_xunits( x )<EOL>ymin = self.convert_yunits( ymin )<EOL>ymax = self.convert_yunits( ymax )<EOL>if not iterable(x): x = [x]<EOL>if not iterable(ymin): ymin = [ymin]<EOL>if not iterable(ymax): ymax = [ymax]<EOL>x = np.asarray(x)<EOL>ymin = np.asarray(ymin)<EOL>ymax = np.asarray(ymax)<EOL>if len(ymin)==<NUM_LIT:1>:<EOL><INDENT>ymin = np.resize( ymin, x.shape )<EOL><DEDENT>if len(ymax)==<NUM_LIT:1>:<EOL><INDENT>ymax = np.resize( ymax, x.shape )<EOL><DEDENT>if len(ymin)!=len(x):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if len(ymax)!=len(x):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>Y = np.array([ymin, ymax]).T<EOL>verts = [ ((thisx, thisymin), (thisx, thisymax))<EOL>for thisx, (thisymin, thisymax) in zip(x,Y)]<EOL>coll = mcoll.LineCollection(verts, colors=colors,<EOL>linestyles=linestyles, label=label)<EOL>self.add_collection(coll)<EOL>coll.update(kwargs)<EOL>minx = min( x )<EOL>maxx = max( x )<EOL>miny = min( min(ymin), min(ymax) )<EOL>maxy = max( max(ymin), max(ymax) )<EOL>corners = (minx, miny), (maxx, maxy)<EOL>self.update_datalim(corners)<EOL>self.autoscale_view()<EOL>return coll<EOL>
call signature::

  vlines(x, ymin, ymax, color='k', linestyles='solid')

Plot vertical lines at each *x* from *ymin* to *ymax*.  *ymin*
or *ymax* can be scalars or len(*x*) numpy arrays.  If they are
scalars, then the respective values are constant, else the
heights of the lines are determined by *ymin* and *ymax*.

*colors*
  a line collections color args, either a single color
  or a len(*x*) list of colors

*linestyles*

  one of [ 'solid' | 'dashed' | 'dashdot' | 'dotted' ]

Returns the :class:`matplotlib.collections.LineCollection`
that was added.

kwargs are :class:`~matplotlib.collections.LineCollection` properties:

%(LineCollection)s