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

Method set_color

lib/matplotlib/collections.py:1827–1838  ·  view source on GitHub ↗

Set the edgecolor(s) of the LineCollection. Parameters ---------- c : :mpltype:`color` or list of :mpltype:`color` Single color (all lines have same color), or a sequence of RGBA tuples; if it is a sequence the lines will cycle th

(self, c)

Source from the content-addressed store, hash-verified

1825 self.set_gapcolor(self._original_gapcolor)
1826
1827 def set_color(self, c):
1828 """
1829 Set the edgecolor(s) of the LineCollection.
1830
1831 Parameters
1832 ----------
1833 c : :mpltype:`color` or list of :mpltype:`color`
1834 Single color (all lines have same color), or a
1835 sequence of RGBA tuples; if it is a sequence the lines will
1836 cycle through the sequence.
1837 """
1838 self.set_edgecolor(c)
1839
1840 set_colors = set_color
1841

Callers

nothing calls this directly

Calls 1

set_edgecolorMethod · 0.45

Tested by

no test coverage detected