I'm attempting to plot the square roots in a single figure. However, this is not getting plotted. Can somebody help me?
import numpy as np
import matplotlib.pyplot as plt
plt.figure()
for i in np.arange(1,5):
zm=i**2
plt.plot(i,zm,'r')
print(i,zm)
plt.show()