go(plot): set default plotter font style
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
340c6e7238
commit
8f1e05fb77
@ -21,6 +21,8 @@ func plotAllDims(algoStats []stats.Stats, fPrefix, fExt string) {
|
|||||||
pWidth := 13 * vg.Centimeter
|
pWidth := 13 * vg.Centimeter
|
||||||
pHeight := 13 * vg.Centimeter
|
pHeight := 13 * vg.Centimeter
|
||||||
|
|
||||||
|
plotter.DefaultFont.Typeface = preferredFontStyle
|
||||||
|
|
||||||
for _, s := range algoStats {
|
for _, s := range algoStats {
|
||||||
p := plot.New()
|
p := plot.New()
|
||||||
p.Title.Text = s.Algo + ", D=" + fmt.Sprint(s.Dimens) +
|
p.Title.Text = s.Algo + ", D=" + fmt.Sprint(s.Dimens) +
|
||||||
|
Loading…
Reference in New Issue
Block a user