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

Method set_capstyle

lib/matplotlib/backend_bases.py:858–866  ·  view source on GitHub ↗

Set how to draw endpoints of lines. Parameters ---------- cs : `.CapStyle` or %(CapStyle)s

(self, cs)

Source from the content-addressed store, hash-verified

856
857 @_docstring.interpd
858 def set_capstyle(self, cs):
859 """
860 Set how to draw endpoints of lines.
861
862 Parameters
863 ----------
864 cs : `.CapStyle` or %(CapStyle)s
865 """
866 self._capstyle = CapStyle(cs)
867
868 def set_clip_rectangle(self, rectangle):
869 """Set the clip rectangle to a `.Bbox` or None."""

Callers

nothing calls this directly

Calls 1

CapStyleClass · 0.90

Tested by

no test coverage detected