'Set the line width in points
ACCEPTS: float value in points'

def set_linewidth(self, w):

    w = float(w)
    if (self._linewidth != w):
        self.stale = True
    self._linewidth = w
    (self._dashOffset, self._dashSeq) = _scale_dashes(self._us_dashOffset, self._us_dashSeq, self._linewidth)
