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

Method push

lib/matplotlib/backends/backend_pdf.py:2495–2500  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2493 return [*rgb[:3], Op.setrgb_nonstroke]
2494
2495 def push(self):
2496 parent = GraphicsContextPdf(self.file)
2497 parent.copy_properties(self)
2498 parent.parent = self.parent
2499 self.parent = parent
2500 return [Op.gsave]
2501
2502 def pop(self):
2503 assert self.parent is not None

Callers 4

clip_cmdMethod · 0.95
draw_path_collectionMethod · 0.45
getModifiersFunction · 0.45
dFunction · 0.45

Calls 2

copy_propertiesMethod · 0.95
GraphicsContextPdfClass · 0.85

Tested by

no test coverage detected