MCPcopy Index your code
hub / github.com/plotly/plotly.py / write_chunks

Function write_chunks

_plotly_utils/png.py:925–930  ·  view source on GitHub ↗

Create a PNG file by writing out the chunks.

(out, chunks)

Source from the content-addressed store, hash-verified

923
924
925def write_chunks(out, chunks):
926 """Create a PNG file by writing out the chunks."""
927
928 out.write(signature)
929 for chunk in chunks:
930 write_chunk(out, *chunk)
931
932
933def rescale_rows(rows, rescale):

Callers

nothing calls this directly

Calls 2

write_chunkFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected