Skip to content

Commit

Permalink
fix documentation for D3.Scale.ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
seliopou committed Jul 17, 2014
1 parent f34325d commit ac53209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/D3/Scale.elm
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ invert = Native.D3.Scale.invert

{-| Get a list of where the ticks are on the scale, given a number of ticks you want.
(linear |> domain [0,10] |> ticks) 3 == [0, 5, 10]
ticks (linear |> domain [0,10]) 3 == [0, 5, 10]
-}
ticks : Scale Float -> Int -> [Float]
ticks = Native.D3.Scale.ticks

0 comments on commit ac53209

Please sign in to comment.