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

Method __init__

lib/matplotlib/backends/backend_pdf.py:1878–1882  ·  view source on GitHub ↗
(self, file, image_dpi, height, width)

Source from the content-addressed store, hash-verified

1876 _use_afm_rc_name = "pdf.use14corefonts"
1877
1878 def __init__(self, file, image_dpi, height, width):
1879 super().__init__(width, height)
1880 self.file = file
1881 self.gc = self.new_gc()
1882 self.image_dpi = image_dpi
1883
1884 def finalize(self):
1885 self.file.output(*self.gc.finalize())

Callers

nothing calls this directly

Calls 2

new_gcMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected