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

Method write

lib/matplotlib/backends/backend_pdf.py:581–588  ·  view source on GitHub ↗

Write some data on the stream.

(self, data)

Source from the content-addressed store, hash-verified

579 self.pdfFile.writeObject(self.len, length)
580
581 def write(self, data):
582 """Write some data on the stream."""
583
584 if self.compressobj is None:
585 self.file.write(data)
586 else:
587 compressed = self.compressobj.compress(data)
588 self.file.write(compressed)
589
590 def _flush(self):
591 """Flush the compression object."""

Callers 15

download_or_cacheFunction · 0.45
visit_FunctionDefMethod · 0.45
visit_ClassDefMethod · 0.45
runFunction · 0.45
finishMethod · 0.45
searchMethod · 0.45
recurseFunction · 0.45
graphviz_dump_transformFunction · 0.45
file_requires_unicodeFunction · 0.45
print_pathFunction · 0.45

Calls

no outgoing calls

Tested by 4

visit_FunctionDefMethod · 0.36
visit_ClassDefMethod · 0.36
runFunction · 0.36
test_truncated_fileFunction · 0.36