MCPcopy Index your code
hub / github.com/gto76/python-cheatsheet / write_to_png_file

Function write_to_png_file

web/update_plots.py:118–120  ·  view source on GitHub ↗
(filename, figure, width, height)

Source from the content-addressed store, hash-verified

116
117
118def write_to_png_file(filename, figure, width, height):
119 p = Path(__file__).resolve().parent / filename
120 figure.write_image(str(p), width=width, height=height)
121
122
123if __name__ == '__main__':

Callers 2

update_covid_deathsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected