Metadata-Version: 2.1
Name: MibiPlot
Version: 0.1
Summary: Make plots in a console
Home-page: https://github.com/mibi88/MibiPlot
Author: mibi88
Author-email: mbcontact50@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/mibi88/MibiPlot/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Requires-Python: >=2.7
Description-Content-Type: text/markdown
License-File: LICENSE

# 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

```py
from MibiPlot.index import *
```
### Buid a new plot
```py
plot = Plot(type = str, values = list, labels = list, height = None (int), width = None (int))
```
### Bar plot
```py
Plot.bar(plot)
```
### String from a plot
```py
Plot.buildstr(plot, list)
```
### Example
#### Code
```py
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](screenshot.png)


