-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from AdityaTaggar05/module
Made Termgraph an API/Module and some new features
- Loading branch information
Showing
11 changed files
with
555 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*.pyc | ||
venv/ | ||
.vim/ | ||
.vscode/ | ||
.coverage | ||
htmlcov/ | ||
|
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+26.9 KB
data/.vim/undodir/D%%Github Contribs%termgraph%termgraph%termgraph.py
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
2010,50.21,7 | ||
2011,508.97,10.45 | ||
2012,212.05,20.2 | ||
2014,30.0,20.0 | ||
2014,30.0,20.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from module import Data, BarChart, Args, Colors | ||
|
||
data = Data([[765, 787], [781, 769]], ["6th G", "7th G"], ["Boys", "Girls"]) | ||
chart = BarChart( | ||
data, | ||
Args( | ||
title="Total Marks Per Class", | ||
colors=[Colors.Red, Colors.Magenta], | ||
space_between=True, | ||
), | ||
) | ||
|
||
chart.draw() |
Oops, something went wrong.