Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Plot points in terminal

Project description

Build Status PyPi Version

Terminalplot is a minimalistic packgage, that only prints points to the terminal. It does not have any dependencies.

Console plot

Installation

pip install terminalplot

Usage

Command Line

Get size of terminal emulator (tty):

$ plot -s
Rows: 25, Columns: 80

Plot some points:

$ plot -x '-1 0 1 2 3 4' -y '0.1 0.2 0.23 0.234 0.24'

API

Plotting a graph

from terminalplot import plot
x = range(100)
y = [i**2 for i in x]
plot(x, y)

Get size of current terminal window

from terminalplot import get_terminal_size
get_terminal_size()

Project details


Release history Release notifications

This version
History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
terminalplot-0.2.6-py2.py3-none-any.whl (6.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 17, 2016
terminalplot-0.2.6.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Jun 17, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page