-
-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
ie; -sc red,blue -sl x,y
will work, but -sl x,y
will result in:
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/guptarohit/asciigraph.addLegends(0x140000efaa8, 0x140000dc000, 0x32, 0x9)
/Users/mostly/go/pkg/mod/github.com/guptarohit/asciigraph@v0.7.3/legend.go:31 +0x1d4
github.com/guptarohit/asciigraph.PlotMany({0x140000a04e0, 0x2, 0x102e4efb8?}, {0x14000098e18, 0xc, 0x102e2ecfe?})
/Users/mostly/go/pkg/mod/github.com/guptarohit/asciigraph@v0.7.3/asciigraph.go:261 +0xb84
main.main()
/Users/mostly/go/pkg/mod/github.com/guptarohit/asciigraph@v0.7.3/cmd/asciigraph/main.go:174 +0xabc
Regardless, I really appreciate the tool, thank you!
Metadata
Metadata
Assignees
Labels
No labels