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

Method fill

lib/matplotlib/backends/backend_pdf.py:2422–2435  ·  view source on GitHub ↗

Predicate: does the path need to be filled? An optional argument can be used to specify an alternative _fillcolor, as needed by RendererPdf.draw_markers.

(self, *args)

Source from the content-addressed store, hash-verified

2420 (len(self._rgb) <= 3 or self._rgb[3] != 0.0))
2421
2422 def fill(self, *args):
2423 """
2424 Predicate: does the path need to be filled?
2425
2426 An optional argument can be used to specify an alternative
2427 _fillcolor, as needed by RendererPdf.draw_markers.
2428 """
2429 if len(args):
2430 _fillcolor = args[0]
2431 else:
2432 _fillcolor = self._fillcolor
2433 return (self._hatch or
2434 (_fillcolor is not None and
2435 (len(_fillcolor) <= 3 or _fillcolor[3] != 0.0)))
2436
2437 def paint(self):
2438 """

Callers 5

paintMethod · 0.95
draw_markersMethod · 0.45
set_colorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected