'Set the linewidth(s) for the collection.  *lw* can be a scalar
or a sequence; if it is a sequence the patches will cycle
through the sequence
ACCEPTS: float or sequence of floats'

def set_linewidth(self, lw):

    if (lw is None):
        lw = mpl.rcParams[u'patch.linewidth']
        if (lw is None):
            lw = mpl.rcParams[u'lines.linewidth']
    self._us_lw = np.atleast_1d(np.asarray(lw))
    (self._linewidths, self._linestyles) = self._bcast_lwls(self._us_lw, self._us_linestyles)
    self.stale = True
