AnimatedGraphs
Build and awesome animated graph easily
Installation
Use the package manager pip to install AnimatedGraphs.
pip install AnimatedGraphs
Usage
import AnimatedGraphs as ag
from AnimatedGraphs import AnimatedBar as agBar
GRAPH_FILENAME = agBar.CreateGraphBar(
dataset,
args**
)
if (GRAPH_FILENAME != ""):
print("Succeed. Animated grahBar available at {}" + GRAPH_FILENAME)
else:
print("something went wrong")
You can find a notebook with sample usage here
Args** details
| Argument | Required? | Possible Values | Default value / action |
|---|---|---|---|
| DS | Yes | numpy arr | |
| AGGREGATION_TYPE | Yes | "COUNT", "SUM" | |
| AGGREGATION_ATTRIBUTE_NAME | when AGG=SUM | String | |
| BAR_ATTRIBUTE_NAME | Yes | String | |
| LOOP_ATTRIBUTE_NAME | Yes | String | |
| SERIES_ATTRIBUTE_NAME | Yes | String | |
| SERIES_ATTRIBUTE_NAME | Yes | String | |
| GRAPH_XLABEL | Opcional | String | Empty |
| GRAPH_XLABEL | Opcional | String | Empty |
| IMAGE_SET_URL | Opcional | String: URL to Zip | |
| IMAGE_SET_EXT | Opcional | String | |
| SORT_BARS_LIST | Opcional | Array of String | |
| GRAPH_STEPS | Opcional | Integer | 10 |
| GRAPH_FRAME_DURATION | Opcional | Float (0-3] | 1.0 |
| GRAPH_FILENAME | Opcional | String | "animated-graph.gif" |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Release files for AnimatedGraphs 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| AnimatedGraphs-1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| AnimatedGraphs-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / AnimatedGraphs-1.0.tar.gz
| Download URL | AnimatedGraphs-1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d95532c6e917ef975712a6540de7fae4fa375a44bd4154c4c95ec0748b655a69
|
|
BLAKE2b-256 checksum How to use checksums |
2cb143e5f9cdda35cc925c03feda16ad70d68a47cf82def5f2de2cebc5f1343f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Release files / AnimatedGraphs-1.0-py3-none-any.whl
| Download URL | AnimatedGraphs-1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d2b837445c0e50333159ff496121c95f111763ccaa19881bfafdd46b570c6e0
|
|
BLAKE2b-256 checksum How to use checksums |
32f23f207287a5bcd51cd5a86b226a7579bc4ca18dfd921d6d5c96c81b1ea10d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|