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

Method set_color

lib/matplotlib/spines.py:486–501  ·  view source on GitHub ↗

Set the edgecolor. Parameters ---------- c : :mpltype:`color` Notes ----- This method does not modify the facecolor (which defaults to "none"), unlike the `.Patch.set_color` method defined in the parent class. Use `.Patch.se

(self, c)

Source from the content-addressed store, hash-verified

484 return result
485
486 def set_color(self, c):
487 """
488 Set the edgecolor.
489
490 Parameters
491 ----------
492 c : :mpltype:`color`
493
494 Notes
495 -----
496 This method does not modify the facecolor (which defaults to "none"),
497 unlike the `.Patch.set_color` method defined in the parent class. Use
498 `.Patch.set_facecolor` to set the facecolor.
499 """
500 self.set_edgecolor(c)
501 self.stale = True
502
503
504class SpinesProxy:

Callers

nothing calls this directly

Calls 1

set_edgecolorMethod · 0.45

Tested by

no test coverage detected