summaryrefslogtreecommitdiff
path: root/grid.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2018-03-19 13:00:48 -0400
committerKurt <kurt.w.jung@gmail.com>2018-03-19 13:00:48 -0400
commita5d7759a7bc697ddb0a744ab67c1daa4a87e4c8b (patch)
tree9178c329ad4302513bcd953fcd6f64a5159e91e6 /grid.go
parentc4bf431472e0d2bac050f5a2c5ade09a50d55f2c (diff)
Fix typo, mention charting facility in home page
Diffstat (limited to 'grid.go')
-rw-r--r--grid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.go b/grid.go
index b9ff6ac..ab042cc 100644
--- a/grid.go
+++ b/grid.go
@@ -353,7 +353,7 @@ func (g GridType) Grid(pdf *Fpdf) {
}
// Plot plots a series of count line segments from xMin to xMax. It repeatedly
-// calls fnc(x) to retreive the y value associate with x. The currently
+// calls fnc(x) to retrieve the y value associate with x. The currently
// selected line drawing attributes are used.
func (g GridType) Plot(pdf *Fpdf, xMin, xMax float64, count int, fnc func(x float64) (y float64)) {
if count > 0 {