demisjohn / pyFIMM

Python Interface to PhotonDesign's FimmWave/FimmProp software.
15 stars 4 forks source link

plot windows: raise() #82

Open demisjohn opened 8 years ago

demisjohn commented 8 years ago

try to raise the plot windows, due to MPL/Spyder bug that leaves plot windows behind the Spyder window.

Here's how:

# In spyder, set SyperPrefs > Console > Advanced or ExternalModules > Matplolib backend = `Qt4Agg`

fig.canvas.manager.window.raise_()  # bring the figure to front.  Must not use MacOS matplotlib backend (Spyder Prefs)