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

Method _flush

lib/matplotlib/backends/backend_pdf.py:590–596  ·  view source on GitHub ↗

Flush the compression object.

(self)

Source from the content-addressed store, hash-verified

588 self.file.write(compressed)
589
590 def _flush(self):
591 """Flush the compression object."""
592
593 if self.compressobj is not None:
594 compressed = self.compressobj.flush()
595 self.file.write(compressed)
596 self.compressobj = None
597
598
599def _get_pdf_charprocs(font_path, glyph_indices):

Callers 1

endMethod · 0.95

Calls 2

flushMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected