Skip to main content

Make plots in a console

Project description

MibiPlot

Make plots in a console. Tested with python 2.7 (should work with python 3).


I will add other types of plots soon.

Getting Started

Install MibiPlot

$ python -m pip install MibiPlot

Import MibiPlot

from MibiPlot.index import *

Buid a new plot

plot = Plot(type = str, values = list, labels = list, height = None (int), width = None (int))

Bar plot

Plot.bar(plot)

String from a plot

Plot.buildstr(plot, list)

Example

Code

plot = Plot("bar", [6, 8, 9, 5, 4], ["label1", "label2", "label3", "label4", "label5"], 9)
print(Plot.buildstr(plot, Plot.bar(plot)))

Result

9 -|       TT       
8 -|    TT ||       
7 -|    || ||       
6 -| TT || ||       
5 -| || || || TT    
4 -| || || || || TT 
3 -| || || || || || 
2 -| || || || || || 
1 -| || || || || || 
    --------------- 
     l  l  l  l  l  
     a  a  a  a  a  
     b  b  b  b  b  
     e  e  e  e  e  
     l  l  l  l  l  
     1  2  3  4  5  

Screenshot

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

MibiPlot-0.1.post2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

MibiPlot-0.1.post2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file MibiPlot-0.1.post2.tar.gz.

File metadata

  • Download URL: MibiPlot-0.1.post2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for MibiPlot-0.1.post2.tar.gz
Algorithm Hash digest
SHA256 030bcf830237634f302f4fb431572ba4d80f71d78a0c15a21ad49e6390d3d346
MD5 b7b0735d9d9a579d106f9a9bae8c6f32
BLAKE2b-256 b42b3ced563a6e96145f0ed5e79646c1eb0a4c60115fb43b559c23ead9065b0e

See more details on using hashes here.

File details

Details for the file MibiPlot-0.1.post2-py3-none-any.whl.

File metadata

  • Download URL: MibiPlot-0.1.post2-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for MibiPlot-0.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 88288e7ec932cffd67c5144e23eff4b2d852631dd89dba4749151bb9c16316dc
MD5 0d395170648718cb755f08cbaec607f9
BLAKE2b-256 3bdb7437836b734a06756fde48adda3e3e702d97830bde666319c8e276b55403

See more details on using hashes here.

Supported by

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