summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-09-27 17:04:40 +0100
committerNick White <git@njw.name>2019-09-27 17:04:40 +0100
commitec6db29175f1d94d1d0dc79714c4cb050b64a700 (patch)
treefba9b2212546bb778a4833e11c380ac79597d50e
parent627e5c89200e420b83b3c53c649ba9b9b49836b6 (diff)
One more update of graph.go to correspond to new go-chart, and improve usage for wipe
-rw-r--r--bookpipeline/graph.go1
-rw-r--r--preproc/cmd/wipe/main.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/bookpipeline/graph.go b/bookpipeline/graph.go
index 874ac50..acd015e 100644
--- a/bookpipeline/graph.go
+++ b/bookpipeline/graph.go
@@ -111,7 +111,6 @@ func Graph(confs map[string]*Conf, bookname string, w io.Writer) error {
}
maxSeries := &chart.ContinuousSeries{
Style: chart.Style{
- Show: true,
StrokeColor: chart.ColorAlternateGray,
StrokeDashArray: []float64{5.0, 5.0},
},
diff --git a/preproc/cmd/wipe/main.go b/preproc/cmd/wipe/main.go
index ceff2e7..e5c039d 100644
--- a/preproc/cmd/wipe/main.go
+++ b/preproc/cmd/wipe/main.go
@@ -20,7 +20,7 @@ func main() {
flag.PrintDefaults()
}
min := flag.Int("m", 30, "Minimum percentage of the image width for the content width calculation to be considered valid.")
- thresh := flag.Float64("t", 0.05, "Threshold for the proportion of black pixels below which a window is determined to be the edge.")
+ thresh := flag.Float64("t", 0.05, "Threshold for the proportion of black pixels below which a window is determined to be the edge. Higher means more aggressive wiping.")
wsize := flag.Int("w", 5, "Window size for mask finding algorithm.")
flag.Parse()
if flag.NArg() < 2 {