Skip to content

Instantly share code, notes, and snippets.

@akira093
Created October 31, 2013 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akira093/7242695 to your computer and use it in GitHub Desktop.
Save akira093/7242695 to your computer and use it in GitHub Desktop.
import pylab
import time
pylab.ion()
l = [1,2,3]
axis = pylab.gca()
for i in range(4, 100):
l.append(i)
pylab.plot(l)
pylab.draw()
axis.clear()
time.sleep(0.3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment