Build and awesome animated graph easily
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file AnimatedGraphs-1.0.tar.gz.
File metadata
- Download URL: AnimatedGraphs-1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d95532c6e917ef975712a6540de7fae4fa375a44bd4154c4c95ec0748b655a69
|
|
| MD5 |
7331a417b321d7ccf493be3042433078
|
|
| BLAKE2b-256 |
2cb143e5f9cdda35cc925c03feda16ad70d68a47cf82def5f2de2cebc5f1343f
|
File details
Details for the file AnimatedGraphs-1.0-py3-none-any.whl.
File metadata
- Download URL: AnimatedGraphs-1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d2b837445c0e50333159ff496121c95f111763ccaa19881bfafdd46b570c6e0
|
|
| MD5 |
af91d893e17e328b387e6f9bfdc72d8d
|
|
| BLAKE2b-256 |
32f23f207287a5bcd51cd5a86b226a7579bc4ca18dfd921d6d5c96c81b1ea10d
|