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
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

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

AnimatedGraphs-1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

AnimatedGraphs-1.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page