Enter Python code in the script.py tab. Click Run button. Observe the output in the IPython Shell tab.
Press CRTL+L to clear the Shell tab.
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0, 5, 0.1);
y = np.sin(x)
plt.plot(x, y)
plt.show()