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

Function gcf

site-packages/matplotlib/pyplot.py:572–578  ·  view source on GitHub ↗

Get a reference to the current figure.

()

Source from the content-addressed store, hash-verified

570
571
572def gcf():
573 """Get a reference to the current figure."""
574 figManager = _pylab_helpers.Gcf.get_active()
575 if figManager is not None:
576 return figManager.canvas.figure
577 else:
578 return figure()
579
580
581def fignum_exists(num):

Callers 15

test_hist_no_overlapMethod · 0.90
test_hist_no_overlapMethod · 0.90
findobjFunction · 0.85
gciFunction · 0.85
get_current_fig_managerFunction · 0.85
clfFunction · 0.85
savefigFunction · 0.85
ginputFunction · 0.85
waitforbuttonpressFunction · 0.85
figtextFunction · 0.85
suptitleFunction · 0.85
figimageFunction · 0.85

Calls 2

figureFunction · 0.85
get_activeMethod · 0.45

Tested by 2

test_hist_no_overlapMethod · 0.72
test_hist_no_overlapMethod · 0.72