chore(go(plot)): check meanVals size
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
8b4432ece1
commit
45ec295b93
@ -30,6 +30,10 @@ func plotMeanVals(meanVals []float64, title string, fes int) *plot.Plot {
|
|||||||
plotter.DefaultFont.Typeface = preferredFont
|
plotter.DefaultFont.Typeface = preferredFont
|
||||||
plotter.DefaultLineStyle.Width = vg.Points(2.0)
|
plotter.DefaultLineStyle.Width = vg.Points(2.0)
|
||||||
|
|
||||||
|
if fes != len(meanVals) {
|
||||||
|
log.Fatalf("meanVals - FES mismatch: %d vs %d , bailing\n", fes, len(meanVals))
|
||||||
|
}
|
||||||
|
|
||||||
p := plot.New()
|
p := plot.New()
|
||||||
|
|
||||||
p.Title.Text = "Mean - " + title
|
p.Title.Text = "Mean - " + title
|
||||||
|
Loading…
Reference in New Issue
Block a user