We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 302d9d8 commit eac808bCopy full SHA for eac808b
1 file changed
src/unicode_plot/interface/stairs.cr
@@ -56,7 +56,7 @@ module UnicodePlot
56
end
57
58
def stairs(y : Array(Float64), **kwargs) : Plot
59
- stairs((0...y.size).map(&.to_f), y, **kwargs)
+ stairs((1..y.size).map(&.to_f), y, **kwargs)
60
61
62
def stairs(y : Array(Number), **kwargs) : Plot
0 commit comments