Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
YetAnotherMatt committed Mar 12, 2018
1 parent 3441495 commit d43aead
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ data := []float64{1.1, 2.1, 3.1, 12.1, 13.1, 14.1, 21.1, 22.1, 23.1, 27.1, 28
breaks := jenks.NaturalBreaks(data, 4)
// [1.1, 12.1, 21.1, 27.1]
allBreaks := jenks.AllNaturalBreaks(data.1, 4)
rounded := jenks.Round(breaks, data)
// [0, 10, 20, 27]
allBreaks := jenks.AllNaturalBreaks(data, 4)
// [ [1.1, 21.1]
// [1.1, 12.1, 21.1]
// [1.1, 12.1, 21.1, 27.1] ]
rounded := jenks.Round(breaks, data)
// [0, 10, 20, 27]
```


Expand Down

0 comments on commit d43aead

Please sign in to comment.