From c615a3d82080538b15805a429c2814295c26c609 Mon Sep 17 00:00:00 2001 From: Daniel Gil Date: Fri, 1 Jun 2018 10:50:15 +0200 Subject: [PATCH] fixed example (now calls the renamed method for getting intervals) --- example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/main.go b/example/main.go index 6591a56..e4fb32f 100644 --- a/example/main.go +++ b/example/main.go @@ -207,7 +207,7 @@ func plotData(path string, intervals interval.Intervals) error { plots := []*Superplot{} // create Intervals plot - xysIntervals := convertToPlotterXYs(intervals.Get()) + xysIntervals := convertToPlotterXYs(intervals.GetIntervals()) p1, err := createPlot("Intervals", xysIntervals, PlotTypeIntervals) if err != nil { return fmt.Errorf("could not create plot: %v", err)