How to plot a chart in the terminal?

后端 未结 7 1275
面向向阳花
面向向阳花 2020-12-25 09:13

I\'m researching ML/Theano, and recently came across this script: https://gist.github.com/notmatthancock/68d52af2e8cde7fbff1c9225b2790a7f which was cool to play with. And l

相关标签:
7条回答
  • 2020-12-25 09:51

    I created a small package called termplot that creates a vertical bar plot from a list.

    pip install termplot
    

    import termplot
    termplot.plot([1,2,3,4,-5,5,-4,-1,0,-10,-4,-2,3,5,8,10,12,10,8,7,6,5,4,3,2,1])
    

    picture

    0 讨论(0)
提交回复
热议问题