how to take plots for every 1 sec

Hello ,
  i have this function :

def Graph(data):
     """Make the plot"""
     plt.colormaps()
     n=sc.shape(data)[2]
     ims=[]
     for i in range(n):
         mydata=data[:,:,i]
         im=plt.imshow(mydata,cmap=plt.get_cmap('jet'))
         ims.append([im])
     return ims

and i use it in my application like this:

fig=plt.gcf()
ani=ArtistAnimation(fig,result,interval=10,repeat=False)
plt.show()

How can i do it so ,for every 1 sec take a plot.

Thanks!