Skip to main content

GIFgraph provides animated data visuals in the form of GIFs.

Project description

Version: 0.1.2 || Author: Henry Taylor || Email: henrysrtaylor@gmail.com


How to install:

You can install with PyPi from your command terminal:

pip install GIFgraph

How To Use:

GIFgraph is a simple libary to help create animated data driven visuals.

The library was created and imagined to be used within single cells as part of a data science/ analytics solution and therefore works best in conjunction with Jupyter notebooks.

Version 0.1.2 includes support for four types of chart: scatter (GG_scatter), pie (GG_pie), bar (GG_bar), and line (GG_line). Upon calling these functions with appropriate arguments, a window will appear displaying the animation. A user can find these animations, along with individual frames on their desktop (or a user specified path) under GIfgraph. All arguments are specified for each function in the following section.

Please note: all testing is performed on Windows and therefore functionality may not be fully supported for Mac and Linux systems.

Arguments:

Arguments for each functioin can be found here, and also accessed within code by calling help(function).

GG_bar:

Parameters: 
            x - x-axis data.
            y - y-axis data.
            xname - x-axis name.
            yname - y-axis name.
            name - Title of GIF.
            step - How many data points to be plotted per frame.
            size - Size of GIF.
            dpi - Dots Per Inch.
            xrotation - Rotation of x-axis.
            milsec - miliseconds between each frame.
            loop - Loop type, 0 is infinite, loop > 0 sets loop for that amount. This only applies to saved GIF. If show_GIF=True then GIF that displays will be infinite. 
            file_path - Folder where file structure will be created.
            show_GIF - Bool, True or False.

GG_line:

Parameters: 
            x - x-axis data.
            y - y-axis data.
            xname - x-axis name.
            yname - y-axis name.
            name - Title of GIF.
            step - How many data points to be plotted per frame.
            size - Size of GIF.
            dpi - Dots Per Inch.
            xrotation - Rotation of x-axis.
            milsec - miliseconds between each frame.
            loop - Loop type, 0 is infinite, loop > 0 sets loop for that amount. This only applies to saved GIF. If show_GIF=True then GIF that displays will be infinite. 
            file_path - Folder where file structure will be created.
            show_GIF - Bool, True or False.

GG_scatter:

Parameters: 
            x - x-axis data.
            y - y-axis data.
            xname - x-axis name.
            yname - y-axis name.
            name - Title of GIF.
            step - How many data points to be plotted per frame.
            size - Size of GIF.
            dpi - Dots Per Inch.
            xrotation - Rotation of x-axis.
            milsec - miliseconds between each frame.
            loop - Loop type, 0 is infinite, loop > 0 sets loop for that amount. This only applies to saved GIF. If show_GIF=True then GIF that displays will be infinite. 
            file_path - Folder where file structure will be created.
            show_GIF - Bool, True or False.

GG_pie:

Parameters: 
            x - x-axis data.
            y - y-axis data.
            name - Title of GIF.
            Explode - Distance of pie segments from each other.
            step - How many data points to be plotted per frame.
            autopct - Pie chart percentages. Add string based on formatting or None.
            autopct_color - Color of data labels. 
            label_color - Color of text labels ~ 'y'. 
            colors_list - list of colors to use for each pie segment. Accepts hex, and color names. Ensure number of colors >= number segments. 
            legend - displays legend on chart.
            shadow - displays shadow under pie.
            size - Size of GIF.
            dpi - Dots Per Inch.
            milsec - miliseconds between each frame.
            loop - Loop type, 0 is infinite, loop > 0 sets loop for that amount. This only applies to saved GIF. If show_GIF=True then GIF that displays will be infinite. 
            file_path - Folder where file structure will be created.
            show_GIF - Bool, True or False.

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

GIFgraph-0.1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

GIFgraph-0.1.2-py3-none-any.whl (4.4 MB view details)

Uploaded Python 3

File details

Details for the file GIFgraph-0.1.2.tar.gz.

File metadata

  • Download URL: GIFgraph-0.1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for GIFgraph-0.1.2.tar.gz
Algorithm Hash digest
SHA256 51ea9b448c3441d5cd26ccc67f27f4a1f4157075e7223de63c480ceb8fb30fcc
MD5 9467117c81d52cc67b48d24151abf4eb
BLAKE2b-256 c2f5eac1ff5be6447f542afbdd3e00e0e17775dd735ac3ae0112219a910c5ff3

See more details on using hashes here.

File details

Details for the file GIFgraph-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: GIFgraph-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for GIFgraph-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ac2ed2fbe6f673c0ea6e1789dc65723b042d405c3a8c4056b4f8c2b9a692bea4
MD5 071937fd4cd645065f5d6056aa3e1439
BLAKE2b-256 680d862f6555f380d11fa69b7d8d05435485e4cee7c772196ccbc0852750e8cf

See more details on using hashes here.

Supported by

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