This may help you if I understand your basic problem. I use a lot of
interactive plots. This is an example of the work around to show() that I
use:
import matplotlib.pyplot as plt
plt.ion()
fig = plt.figure(figsize=(10,8))
ax = fig.add_axes([.15,.1,.8,.65])
ax.plot([1,2,3])
ax.set_title('Fisrt
Plot')
fig2.canvas.get_tk_widget().focus_force()
raw_input('Enter to close and Continue: ')
#plt.close(fig2)
fig.canvas.get_tk_widget().focus_force()
raw_input('Enter to close and Continue: ')
Bob Kestner
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Force-focus
')
raw_input('Enter to close and Continue: ')
plt.close(fig2)
Thank you,
Bob Kestner
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command