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

Method update_from

lib/matplotlib/lines.py:1363–1383  ·  view source on GitHub ↗

Copy properties from *other* to self.

(self, other)

Source from the content-addressed store, hash-verified

1361 self.set_linestyle((0, seq))
1362
1363 def update_from(self, other):
1364 """Copy properties from *other* to self."""
1365 super().update_from(other)
1366 self._linestyle = other._linestyle
1367 self._linewidth = other._linewidth
1368 self._color = other._color
1369 self._gapcolor = other._gapcolor
1370 self._markersize = other._markersize
1371 self._markerfacecolor = other._markerfacecolor
1372 self._markerfacecoloralt = other._markerfacecoloralt
1373 self._markeredgecolor = other._markeredgecolor
1374 self._markeredgewidth = other._markeredgewidth
1375 self._unscaled_dash_pattern = other._unscaled_dash_pattern
1376 self._dash_pattern = other._dash_pattern
1377 self._dashcapstyle = other._dashcapstyle
1378 self._dashjoinstyle = other._dashjoinstyle
1379 self._solidcapstyle = other._solidcapstyle
1380 self._solidjoinstyle = other._solidjoinstyle
1381
1382 self._marker = MarkerStyle(marker=other._marker)
1383 self._drawstyle = other._drawstyle
1384
1385 @_docstring.interpd
1386 def set_dash_joinstyle(self, s):

Callers

nothing calls this directly

Calls 1

MarkerStyleClass · 0.85

Tested by

no test coverage detected