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

Method set_linewidth

lib/matplotlib/patches.py:493–505  ·  view source on GitHub ↗

Set the patch linewidth in points. Parameters ---------- w : float or None

(self, w)

Source from the content-addressed store, hash-verified

491 # stale is already True
492
493 def set_linewidth(self, w):
494 """
495 Set the patch linewidth in points.
496
497 Parameters
498 ----------
499 w : float or None
500 """
501 w = mpl._val_or_rc(w, 'patch.linewidth')
502 w = float(w)
503 self._linewidth = w
504 self._dash_pattern = mlines._scale_dashes(*self._unscaled_dash_pattern, w)
505 self.stale = True
506
507 def set_linestyle(self, ls):
508 """

Callers 3

__init__Method · 0.95
update_fromMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected