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

Method paint

lib/matplotlib/backends/backend_pdf.py:2437–2442  ·  view source on GitHub ↗

Return the appropriate pdf operator to cause the path to be stroked, filled, or both.

(self)

Source from the content-addressed store, hash-verified

2435 (len(_fillcolor) <= 3 or _fillcolor[3] != 0.0)))
2436
2437 def paint(self):
2438 """
2439 Return the appropriate pdf operator to cause the path to be
2440 stroked, filled, or both.
2441 """
2442 return Op.paint_path(self.fill(), self.stroke())
2443
2444 capstyles = {'butt': 0, 'round': 1, 'projecting': 2}
2445 joinstyles = {'miter': 0, 'round': 1, 'bevel': 2}

Callers 1

draw_pathMethod · 0.45

Calls 3

fillMethod · 0.95
strokeMethod · 0.95
paint_pathMethod · 0.80

Tested by

no test coverage detected