MCPcopy
hub / github.com/matplotlib/matplotlib / pop

Method pop

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

Source from the content-addressed store, hash-verified

2500 return [Op.gsave]
2501
2502 def pop(self):
2503 assert self.parent is not None
2504 self.copy_properties(self.parent)
2505 self.parent = self.parent.parent
2506 return [Op.grestore]
2507
2508 def clip_cmd(self, cliprect, clippath):
2509 """Set clip rectangle. Calls `.pop()` and `.push()`."""

Callers 15

clip_cmdMethod · 0.95
finalizeMethod · 0.95
set_thetalimMethod · 0.45
set_rlimMethod · 0.45
_blitFunction · 0.45
remove_toolitemMethod · 0.45
draw_path_collectionMethod · 0.45
endMethod · 0.45
_write_metadataMethod · 0.45
showMethod · 0.45
remove_toolitemMethod · 0.45
destroyMethod · 0.45

Calls 1

copy_propertiesMethod · 0.95

Tested by 11

test_table_unitFunction · 0.36
test_check_button_propsFunction · 0.36
test_legend_colorsFunction · 0.36
animFunction · 0.36
test_ft2font_get_sfntFunction · 0.36
transformFunction · 0.36
test_mathtext_fallbackFunction · 0.36
_lazy_headlessFunction · 0.36
test_lazy_linux_headlessFunction · 0.36