aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/graphs/points.jl4
1 files 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")