MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / is_dashed

Method is_dashed

lib/matplotlib/lines.py:1481–1490  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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
1493class AxLine(Line2D):

Callers 1

drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected