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

Method set_capstyle

lib/matplotlib/collections.py:722–730  ·  view source on GitHub ↗

Set the `.CapStyle` for the collection (for all its elements). Parameters ---------- cs : `.CapStyle` or %(CapStyle)s

(self, cs)

Source from the content-addressed store, hash-verified

720
721 @_docstring.interpd
722 def set_capstyle(self, cs):
723 """
724 Set the `.CapStyle` for the collection (for all its elements).
725
726 Parameters
727 ----------
728 cs : `.CapStyle` or %(CapStyle)s
729 """
730 self._capstyle = CapStyle(cs)
731
732 @_docstring.interpd
733 def get_capstyle(self):

Callers 2

__init__Method · 0.95
drawMethod · 0.45

Calls 1

CapStyleClass · 0.85

Tested by

no test coverage detected