diff options
Diffstat (limited to 'examples/graph.py')
-rwxr-xr-x | examples/graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graph.py b/examples/graph.py index c21c9a9..536fa00 100755 --- a/examples/graph.py +++ b/examples/graph.py @@ -48,7 +48,7 @@ class GraphModel: data_max_value = 100 def __init__(self): - data = [ ('Saw', range(0,100,2)*2), + data = [ ('Saw', list(range(0,100,2))*2), ('Square', [0]*30 + [100]*30), ('Sine 1', [sin100(x) for x in range(100)] ), ('Sine 2', [(sin100(x) + sin100(x*2))/2 |