File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ import (
1515 "github.com/gonum/plot/vg/draw"
1616)
1717
18- // displayPrecision is a sane level of float precision for a plot.
18+ // displayPrecision default level of float precision for a plot.
1919const displayPrecision = 4
2020
2121// Ticker creates Ticks in a specified range
2222type Ticker interface {
2323 // Ticks returns Ticks in a specified range and formatted according to the
2424 // given format function.
25- // When no format is provided ( nil) a sane default is used.
25+ // When format is nil DefaultTickFormat is used.
2626 Ticks (min , max float64 , format func (v float64 , prec int ) string ) []Tick
2727}
2828
@@ -78,7 +78,7 @@ type Axis struct {
7878 Marker Ticker
7979
8080 // Format function used to format the Axis Ticks.
81- // When no format is provided a sane default is used.
81+ // When format is nil DefaultTickFormat is used.
8282 Format func (v float64 , prec int ) string
8383 }
8484
You can’t perform that action at this time.
0 commit comments