Set the line width in points. Parameters ---------- w : float Line width, in points.
(self, w)
| 1143 | self.stale = True |
| 1144 | |
| 1145 | def set_linewidth(self, w): |
| 1146 | """ |
| 1147 | Set the line width in points. |
| 1148 | |
| 1149 | Parameters |
| 1150 | ---------- |
| 1151 | w : float |
| 1152 | Line width, in points. |
| 1153 | """ |
| 1154 | w = float(w) |
| 1155 | if self._linewidth != w: |
| 1156 | self.stale = True |
| 1157 | self._linewidth = w |
| 1158 | self._dash_pattern = _scale_dashes(*self._unscaled_dash_pattern, w) |
| 1159 | |
| 1160 | def set_linestyle(self, ls): |
| 1161 | """ |
no test coverage detected