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

Method write

_plotly_utils/png.py:1288–1300  ·  view source on GitHub ↗

Write the image to the open file object. See `.save()` if you have a filename. In general, you can only call this method once; after it has been called the first time the PNG image is written, the source data will have been streamed, and cannot be streamed a

(self, file)

Source from the content-addressed store, hash-verified

1286 w.write(fd, self.rows)
1287
1288 def write(self, file):
1289 """Write the image to the open file object.
1290
1291 See `.save()` if you have a filename.
1292
1293 In general, you can only call this method once;
1294 after it has been called the first time the PNG image is written,
1295 the source data will have been streamed, and
1296 cannot be streamed again.
1297 """
1298
1299 w = Writer(**self.info)
1300 w.write(file, self.rows)
1301
1302
1303class Reader:

Callers 15

overwrite_schemaFunction · 0.45
overwrite_bundleFunction · 0.45
write_preambleMethod · 0.45
write_chunkFunction · 0.45
write_chunksFunction · 0.45
_permissionsFunction · 0.45
write_htmlFunction · 0.45
write_jsonFunction · 0.45

Calls 2

writeMethod · 0.95
WriterClass · 0.85

Tested by 2