Mathieu
while True
time.sleep()
plt.figure() # Opens a figure you can plot in. Redundant, but more understandable
while True: # I suggest replacing with a halting condition/input
#update your data object, denoted obj, from your files.
hold(true)
plot('xlabel', 'ylabel', data=obj)
time.sleep(10) # Assumes Time is imported, this will wait for 10 seconds before looping.