KeepCoolWithCoolidge / asciigraph

Console ascii line graphs in pure Nim
MIT License
16 stars 3 forks source link

type mismatch #2

Open inv2004 opened 4 years ago

inv2004 commented 4 years ago

Hello, was trying to run it and I have the following:

  var a = @[10.0, 3, 5, 7, 4]
  echo plot(a, caption="An example graph!")
.nimble/pkgs/asciigraph-0.1.0/asciigraph.nim(85, 10) Error: type mismatch: got <float64, string, string>
        ... but expected one of:
        ... proc format(formatstr: string; a: varargs[string, `$`]): string
        ...   first type mismatch at position: 1
        ...   required type for formatstr: string
        ...   but expression 'maximum' is of type: float64
        ... expression: format(maximum, specifier, maxString)
Flammable-Duck commented 3 years ago

I have the same problem.