'Set the patch linewidth in points
ACCEPTS: float or None for default'

def set_linewidth(self, w):

    if (w is None):
        w = mpl.rcParams[u'patch.linewidth']
        if (w is None):
            w = mpl.rcParams[u'axes.linewidth']
    self._linewidth = float(w)
    (offset, ls) = self._us_dashes
    (self._dashoffset, self._dashes) = mlines._scale_dashes(offset, ls, self._linewidth)
    self.stale = True
