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

Method _make_line

lib/matplotlib/axes/_base.py:350–354  ·  view source on GitHub ↗
(self, axes, x, y, kw, kwargs)

Source from the content-addressed store, hash-verified

348 kw[k] = defaults[k]
349
350 def _make_line(self, axes, x, y, kw, kwargs):
351 kw = {**kw, **kwargs} # Don't modify the original kw.
352 self._setdefaults(self._prop_cycle.getdefaults(kw), kw)
353 seg = mlines.Line2D(x, y, **kw)
354 return seg, kw
355
356 def _make_coordinates(self, axes, x, y, kw, kwargs):
357 kw = {**kw, **kwargs} # Don't modify the original kw.

Callers

nothing calls this directly

Calls 2

_setdefaultsMethod · 0.95
getdefaultsMethod · 0.80

Tested by

no test coverage detected