fixed example (now calls the renamed method for getting intervals)
This commit is contained in:
parent
217eb78ab4
commit
c615a3d820
@ -207,7 +207,7 @@ func plotData(path string, intervals interval.Intervals) error {
|
|||||||
plots := []*Superplot{}
|
plots := []*Superplot{}
|
||||||
|
|
||||||
// create Intervals plot
|
// create Intervals plot
|
||||||
xysIntervals := convertToPlotterXYs(intervals.Get())
|
xysIntervals := convertToPlotterXYs(intervals.GetIntervals())
|
||||||
p1, err := createPlot("Intervals", xysIntervals, PlotTypeIntervals)
|
p1, err := createPlot("Intervals", xysIntervals, PlotTypeIntervals)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("could not create plot: %v", err)
|
return fmt.Errorf("could not create plot: %v", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user