Return whether line has a dashed linestyle. A custom linestyle is assumed to be dashed, we do not inspect the ``onoffseq`` directly. See also `~.Line2D.set_linestyle`.
(self)
| 1479 | return self._solidcapstyle.name |
| 1480 | |
| 1481 | def is_dashed(self): |
| 1482 | """ |
| 1483 | Return whether line has a dashed linestyle. |
| 1484 | |
| 1485 | A custom linestyle is assumed to be dashed, we do not inspect the |
| 1486 | ``onoffseq`` directly. |
| 1487 | |
| 1488 | See also `~.Line2D.set_linestyle`. |
| 1489 | """ |
| 1490 | return self._linestyle in ('--', '-.', ':') |
| 1491 | |
| 1492 | |
| 1493 | class AxLine(Line2D): |