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

Method set_joinstyle

lib/matplotlib/patches.py:600–613  ·  view source on GitHub ↗

Set the `.JoinStyle`. The default joinstyle is 'round' for `.FancyArrowPatch` and 'miter' for all other patches. Parameters ---------- s : `.JoinStyle` or %(JoinStyle)s

(self, s)

Source from the content-addressed store, hash-verified

598
599 @_docstring.interpd
600 def set_joinstyle(self, s):
601 """
602 Set the `.JoinStyle`.
603
604 The default joinstyle is 'round' for `.FancyArrowPatch` and 'miter' for
605 all other patches.
606
607 Parameters
608 ----------
609 s : `.JoinStyle` or %(JoinStyle)s
610 """
611 js = JoinStyle(s)
612 self._joinstyle = js
613 self.stale = True
614
615 def get_joinstyle(self):
616 """Return the joinstyle."""

Callers 3

__init__Method · 0.95
drawMethod · 0.45

Calls 1

JoinStyleClass · 0.85

Tested by

no test coverage detected