ZGainsforth
11/21/2015 - 5:38 AM

Plot matplotlib figures to the foreground.

Plot matplotlib figures to the foreground.

# Call this just before plt.show()

def raise_window(figname=None):
    if figname: plt.figure(figname)
    cfm = plt.get_current_fig_manager()
    cfm.window.activateWindow()
    cfm.window.raise_()