go(plot): set font for tick labels
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-07-08 17:55:15 +02:00
parent 141c48b722
commit 0131fccfba
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -30,9 +30,11 @@ func plotAllDims(allStats []stats.Stats, fPrefix, fExt string) {
p.X.Label.Text = "Generations" p.X.Label.Text = "Generations"
p.X.Label.TextStyle.Font.Variant = preferredFontStyle p.X.Label.TextStyle.Font.Variant = preferredFontStyle
p.X.Label.TextStyle.Font.Weight = 1 // Medium p.X.Label.TextStyle.Font.Weight = 1 // Medium
p.X.Tick.Label.Font.Variant = preferredFontStyle
p.Y.Label.Text = "CF value" p.Y.Label.Text = "CF value"
p.Y.Label.TextStyle.Font.Variant = preferredFontStyle p.Y.Label.TextStyle.Font.Variant = preferredFontStyle
p.Y.Label.TextStyle.Font.Weight = 1 // Medium p.Y.Label.TextStyle.Font.Weight = 1 // Medium
p.Y.Tick.Label.Font.Variant = preferredFontStyle
p.Title.TextStyle.Font.Size = 11.5 p.Title.TextStyle.Font.Size = 11.5
p.Title.TextStyle.Font.Variant = "Sans" p.Title.TextStyle.Font.Variant = "Sans"