Skip to content

Instantly share code, notes, and snippets.

@ryangraham
Created November 15, 2012 01:26
Show Gist options
  • Save ryangraham/4076047 to your computer and use it in GitHub Desktop.
Save ryangraham/4076047 to your computer and use it in GitHub Desktop.
for JB
t = start
for value in values:
timestr = str(t)
if value is None:
value = last
else:
last = value
valuestr = "%f" % value
datapoints = [timestr, valuestr]
whisper.update(path2, valuestr, timestr)
t += step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment