Last updated:
0 purchases
AnimatedGraphs 1.0
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
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.