use with_ instead of with
d1 = Gnuplot.Data(y1,title='True Source',with_='lines lw 5')
Edo
________________________________________
From: Sarat Sreepathi [sa...@tr...]
Sent: Saturday, March 24, 2012 1:43 AM
To: gnu...@li...
Subject: [Gnuplot-py-users] Porting Gnuplot legacy: 'with' keyword
Hello:
I wrote a visualization module using Gnuplot during 2007-08. I have
returned to it after a long hiatus to revamp and add some features.
As 'with' became a Python keyword, the following line doesn't work
anymore. I tried searching for a workaround in the list archives without
much success.
d1 = Gnuplot.Data(y1,title='True Source',with='lines lw 5')
^
SyntaxError: invalid syntax
Any pointers would be greatly appreciated.
-Sarat.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Gnuplot-py-users mailing list
Gnu...@li...
https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users
|