Skip to content

Instantly share code, notes, and snippets.

@hwmrocker
Created October 13, 2013 19:31
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 hwmrocker/6966478 to your computer and use it in GitHub Desktop.
Save hwmrocker/6966478 to your computer and use it in GitHub Desktop.
for user_id in d.getUsers():
filen = "out/%s.png" % user_id
if os.path.exists(filen):
continue
i += 1
if i > 20:
exit(0) # we are not done yet
# ... build the figure
fig.savefig(filen, dpi=300)
print "done..."
exit(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment