Skip to main content

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 <No image>
IMAGE_SET_EXT Opcional String <No image>
SORT_BARS_LIST Opcional Array of String <No sorting>
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for AnimatedGraphs, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size AnimatedGraphs-1.0-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size AnimatedGraphs-1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page