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

Method set_fill

lib/matplotlib/patches.py:556–568  ·  view source on GitHub ↗

Set whether to fill the patch. Parameters ---------- b : bool

(self, b)

Source from the content-addressed store, hash-verified

554 self.stale = True
555
556 def set_fill(self, b):
557 """
558 Set whether to fill the patch.
559
560 Parameters
561 ----------
562 b : bool
563 """
564 self._fill = bool(b)
565 self._set_facecolor(self._original_facecolor)
566 self._set_edgecolor(self._original_edgecolor)
567 self._set_hatchcolor(self._original_hatchcolor)
568 self.stale = True
569
570 def get_fill(self):
571 """Return whether the patch is filled."""

Callers

nothing calls this directly

Calls 3

_set_facecolorMethod · 0.95
_set_edgecolorMethod · 0.95
_set_hatchcolorMethod · 0.95

Tested by

no test coverage detected