From: Gil D. <gil...@gm...> - 2008-07-26 08:19:08
|
Use with_ instead. Gil On Sat, Jul 26, 2008 at 3:13 AM, Gerald Rude <gd...@gm...> wrote: > Thank you for the wonderful tool you have given us. Gnuplot.py is > amazing. I am having some difficulty though and I would love a > workaround or solution to a problem I am experiencing. I am having > difficulty with "with" being a reserved word in python. For instance: > > plot1=Gnuplot.PlotItems.Data(list_tuple, with = "linetype", title = > "title") > > g.plot(plot1) > > I receive an error: > SyntaxError: invalid syntax > and Idle highlights "with" > > Any help would be appreciated. I was hoping to solve the problem > without resorting to writing the data to a txt file and then hacking > together a plot script all the time. > > > Thank you again! > Gerald Rude > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > |