GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kressi/terminalplot

BranchesTags
Open more actions menu

Latest commit

 

History

133 Commits
133 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
terminalplot
terminalplot
 
 
.coveragerc
.coveragerc
 
 
.gitignore
.gitignore
 
 
CHANGES.md
CHANGES.md
 
 
LICENCE.txt
LICENCE.txt
 
 
README.rst
README.rst
 
 
next-version.sh
next-version.sh
 
 
plot.png
plot.png
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

terminalplot

PyPi Version Code Climate Test Coverage

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

About

No description or website provided.

Topics

console-toolplotpypipythonterminaltravis-ci

Resources

Readme
GPL-3.0 license
Activity

Stars

56 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.