python - make matplotlib plotting window pop up as the active one -
python - make matplotlib plotting window pop up as the active one -
i'm working python , matplotlib on mac os x. when i'm working on many different windows , have run script produces plot, plot window open behind active window , frustration having switch between windows looking @ image. why decide location of plot window, and/or pop foreground window?
thanks
i bothered same problem. found solution (in pylab mode, qt4agg backend):
get_current_fig_manager().window.raise_() or
fig = gcf() fig.canvas.manager.window.raise_() regards, markus
python osx matplotlib
Comments
Post a Comment