Skip to main content

A tool to draw ascii line chart in terminal

Project description

TermChart

Draw ascii line charts in terminal.

termchart_screenshot

Install

pip3 install termchart

USage

Create a Python file :

import termchart

graph = termchart.Graph([1,2,3,2,5,1,-1,-5,-3])
graph.draw()

You can change the plot (default is +):

graph.setDot('|')

Change the width and height (default cols is 160x50)

graph.setCols(200)
graph.setRows(40)

Donate

https://en.jeffprod.com/donate/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termchart-0.0.1.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

termchart-0.0.1-py2.py3-none-any.whl (2.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page