Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Plot points in terminal

Project Description

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

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()

Release History

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting