From 197d2c4d634ea9765189a1df5a4179bd181662e4 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 21 Feb 2016 18:07:56 -0800 Subject: examples/graphs/points.jl: fix zero indexing --- examples/graphs/points.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/graphs/points.jl b/examples/graphs/points.jl index 9136ee0..69d4d0d 100644 --- a/examples/graphs/points.jl +++ b/examples/graphs/points.jl @@ -15,9 +15,9 @@ using PyX g = graph.graphxy(width=8) -plot(g, graph_data.values(x=1:10, y=1:10)) +plot(g, graph_data.values(x=0:9, y=0:9)) # XXX: x, y syntax in Python3 version only # XXX: also other errors -#plot(g, graph_data.points([[i i] for i in 1:10], 1:10), x=1, y=2) +#plot(g, graph_data.points([[i i] for i in 0:9], 0:9), x=1, y=2) writeEPSfile(g, "points") writePDFfile(g, "points") -- cgit v1.2.3