From a7658ef79f7fec456cb52ed1480af7eb259b5ad2 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Thu, 24 Jan 2019 08:06:12 -0800 Subject: [PATCH] Fix plot example widget titles --- _examples/plot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_examples/plot.go b/_examples/plot.go index 59cfd9c..be42975 100644 --- a/_examples/plot.go +++ b/_examples/plot.go @@ -40,7 +40,7 @@ func main() { p0.LineColors[0] = ui.ColorGreen p1 := widgets.NewPlot() - p1.Title = "custom Line Chart" + p1.Title = "dot-mode line Chart" p1.Marker = widgets.MarkerDot p1.Data = [][]float64{[]float64{1, 2, 3, 4, 5}} p1.SetRect(50, 0, 75, 10) @@ -61,7 +61,7 @@ func main() { p2.Type = widgets.ScatterPlot p3 := widgets.NewPlot() - p3.Title = "dot-mode Scatter Plot" + p3.Title = "braille-mode Scatter Plot" p3.Data = make([][]float64, 2) p3.Data[0] = []float64{1, 2, 3, 4, 5} p3.Data[1] = sinData[1][4:]