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

Method set_hatchcolor

lib/matplotlib/collections.py:940–951  ·  view source on GitHub ↗

Set the hatchcolor(s) of the collection. Parameters ---------- c : :mpltype:`color` or list of :mpltype:`color` or 'edge' The collection hatchcolor(s). If a sequence, the patches cycle through it.

(self, c)

Source from the content-addressed store, hash-verified

938 self.stale = True
939
940 def set_hatchcolor(self, c):
941 """
942 Set the hatchcolor(s) of the collection.
943
944 Parameters
945 ----------
946 c : :mpltype:`color` or list of :mpltype:`color` or 'edge'
947 The collection hatchcolor(s). If a sequence, the patches cycle
948 through it.
949 """
950 self._original_hatchcolor = c
951 self._set_hatchcolor(c)
952
953 def set_alpha(self, alpha):
954 """

Callers 2

__init__Method · 0.95
set_colorMethod · 0.95

Calls 1

_set_hatchcolorMethod · 0.95

Tested by

no test coverage detected