[Eric] Bringing Matplotlib figure to front

David Arnold dwarnold45 at suddenlink.net
Sat Feb 6 19:32:10 GMT 2010


Hi,

When I run this code in Eric:

import matplotlib.pyplot as plt
import numpy as np

t = np.linspace(0, 2*np.pi, 200)
x = np.cos(t)
y = np.sin(t)
plt.plot(x, y)

plt.show()

It works fine, but the figure window is buried underneath eric ide. Is there a setting or code solution to bring this to  the front when I compile?

D.


More information about the Eric mailing list