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

Method write

lib/matplotlib/backends/backend_pdf.py:387–391  ·  view source on GitHub ↗
(self, contents, file)

Source from the content-addressed store, hash-verified

385 return b"%d 0 R" % self.id
386
387 def write(self, contents, file):
388 write = file.write
389 write(b"%d 0 obj\n" % self.id)
390 write(pdfRepr(contents))
391 write(b"\nendobj\n")
392
393
394@total_ordering

Callers

nothing calls this directly

Calls 1

pdfReprFunction · 0.85

Tested by

no test coverage detected