I am currently trying to plot a few time series numpy arrays. One of the
issues I have been running into recently
is how to use a ISO formatted time array as a X Axis.
My text is formatted as '2008-10-16T00:02:02' as per
http://comments.gmane.org/gmane.comp.graphics.veusz.general/302
Yet when I go to use the array in a plot I run into the following error
>>> g.SetData('x', a['DateTime'])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"c:\python26\lib\site-packages\veusz-1.7-py2.6-win32.egg\veusz\embed.py",
line 64, in runner
return function( arg, *args, **args2 )
File
"c:\python26\lib\site-packages\veusz-1.7-py2.6-win32.egg\veusz\embed.py",
line 303, in runCommand
return self.sendCommand( (self.winno, cmd, args[1:], args2) )
File
"c:\python26\lib\site-packages\veusz-1.7-py2.6-win32.egg\veusz\embed.py",
line 296, in sendCommand
raise retobj
ValueError: invalid literal for float(): 2008-10-16T00:01:32
>>>
Regards,
James
_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss