go(plot): latex-proof regular pic's caption, too
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c37ef263ae
commit
c433b11eea
@ -109,8 +109,8 @@ func plotAllDims(algoStats []stats.Stats, fPrefix, fExt string, ch chan report.P
|
|||||||
p.Title.Text = "D: " + fmt.Sprint(s.Dimens) +
|
p.Title.Text = "D: " + fmt.Sprint(s.Dimens) +
|
||||||
", G: " + fmt.Sprint(s.Generations) +
|
", G: " + fmt.Sprint(s.Generations) +
|
||||||
", I: " + fmt.Sprint(s.Iterations)
|
", I: " + fmt.Sprint(s.Iterations)
|
||||||
// pic.Caption = p.Title.Text
|
// this is latex-rendered.
|
||||||
pic.Caption = ""
|
pic.Caption = strings.ReplaceAll(p.Title.Text, " ", "~")
|
||||||
|
|
||||||
// since a single stat slice of algoStats only contains results of a
|
// since a single stat slice of algoStats only contains results of a
|
||||||
// single bench func, it's safe to set the value like this.
|
// single bench func, it's safe to set the value like this.
|
||||||
|
Loading…
Reference in New Issue
Block a user