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

Method set_linecap

lib/matplotlib/backends/backend_ps.py:483–487  ·  view source on GitHub ↗
(self, linecap, store=True)

Source from the content-addressed store, hash-verified

481 return f"{linecap:d} setlinecap\n"
482
483 def set_linecap(self, linecap, store=True):
484 if linecap != self.linecap:
485 self._pswriter.write(self._linecap_cmd(linecap))
486 if store:
487 self.linecap = linecap
488
489 def set_linedash(self, offset, seq, store=True):
490 if self.linedash is not None:

Callers 1

_draw_psMethod · 0.95

Calls 2

_linecap_cmdMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected