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

Function _scale_dashes

lib/matplotlib/lines.py:89–95  ·  view source on GitHub ↗
(offset, dashes, lw)

Source from the content-addressed store, hash-verified

87
88
89def _scale_dashes(offset, dashes, lw):
90 if not mpl.rcParams['lines.scale_dashes']:
91 return offset, dashes
92 scaled_offset = offset * lw
93 scaled_dashes = ([x * lw if x is not None else None for x in dashes]
94 if dashes is not None else None)
95 return scaled_offset, scaled_dashes
96
97
98def segment_hits(cx, cy, x, y, radius):

Callers 2

set_linewidthMethod · 0.85
set_linestyleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…