How to draw the end caps if the line is `~Line2D.is_dashed`. The default capstyle is :rc:`lines.dash_capstyle`. Parameters ---------- s : `.CapStyle` or %(CapStyle)s
(self, s)
| 1432 | |
| 1433 | @_docstring.interpd |
| 1434 | def set_dash_capstyle(self, s): |
| 1435 | """ |
| 1436 | How to draw the end caps if the line is `~Line2D.is_dashed`. |
| 1437 | |
| 1438 | The default capstyle is :rc:`lines.dash_capstyle`. |
| 1439 | |
| 1440 | Parameters |
| 1441 | ---------- |
| 1442 | s : `.CapStyle` or %(CapStyle)s |
| 1443 | """ |
| 1444 | cs = CapStyle(s) |
| 1445 | if self._dashcapstyle != cs: |
| 1446 | self.stale = True |
| 1447 | self._dashcapstyle = cs |
| 1448 | |
| 1449 | @_docstring.interpd |
| 1450 | def set_solid_capstyle(self, s): |
no test coverage detected