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

Method set_linewidth

lib/matplotlib/backends/backend_ps.py:456–461  ·  view source on GitHub ↗
(self, linewidth, store=True)

Source from the content-addressed store, hash-verified

454 self.color = (r, g, b)
455
456 def set_linewidth(self, linewidth, store=True):
457 linewidth = float(linewidth)
458 if linewidth != self.linewidth:
459 self._pswriter.write(f"{_nums_to_str(linewidth)} setlinewidth\n")
460 if store:
461 self.linewidth = linewidth
462
463 @staticmethod
464 def _linejoin_cmd(linejoin):

Callers 7

_draw_psMethod · 0.95
draw_texMethod · 0.45
apply_callbackFunction · 0.45
__clearMethod · 0.45
test_chunksize_failsFunction · 0.45

Calls 2

_nums_to_strFunction · 0.85
writeMethod · 0.45

Tested by 2

test_chunksize_failsFunction · 0.36