How to draw the end caps if the line is solid (not `~Line2D.is_dashed`) The default capstyle is :rc:`lines.solid_capstyle`. Parameters ---------- s : `.CapStyle` or %(CapStyle)s
(self, s)
| 1448 | |
| 1449 | @_docstring.interpd |
| 1450 | def set_solid_capstyle(self, s): |
| 1451 | """ |
| 1452 | How to draw the end caps if the line is solid (not `~Line2D.is_dashed`) |
| 1453 | |
| 1454 | The default capstyle is :rc:`lines.solid_capstyle`. |
| 1455 | |
| 1456 | Parameters |
| 1457 | ---------- |
| 1458 | s : `.CapStyle` or %(CapStyle)s |
| 1459 | """ |
| 1460 | cs = CapStyle(s) |
| 1461 | if self._solidcapstyle != cs: |
| 1462 | self.stale = True |
| 1463 | self._solidcapstyle = cs |
| 1464 | |
| 1465 | def get_dash_capstyle(self): |
| 1466 | """ |