MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / savefig

Function savefig

site-packages/matplotlib/pyplot.py:687–691  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

685
686@docstring.copy_dedent(Figure.savefig)
687def savefig(*args, **kwargs):
688 fig = gcf()
689 res = fig.savefig(*args, **kwargs)
690 fig.canvas.draw_idle() # need this if 'transparent=True' to reset colors
691 return res
692
693
694@docstring.copy_dedent(Figure.ginput)

Callers

nothing calls this directly

Calls 3

gcfFunction · 0.85
savefigMethod · 0.45
draw_idleMethod · 0.45

Tested by

no test coverage detected