Skip to content

AlexKalopsia/preg-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preg-graph

preg-graph is a simple visualisation utility built with Python and PyPlot. It pulls pregnancy data from a CSV file, and exports a nice-looking graph with all the relative information.

preg-graph

Requirements

Currently, the first column of the input CSV file needs to be called Week and must be reserved to the week number. Any other column can be customized to whatever sympthom.

Usage

By simply calling py .\preg-graph.py, you will pull the pregnancy data stored in data.csv and export a graph.png file.

Alternatively, you could pass additional arguments:

Args Description
-i --input Path to the input CSV file to be read.
-o, --output Path of the output PNG graph to be exported.
--columns Amount of graph columns.
--style Name of the graph style.
--dpi DPI resolution of the exported graph.

For example py .\preg-graph.py -i my_data.csv -o /output/my_graph.png --columns 2 --dpi 150 will pull the data from my_data.csv and export a 2-column graph to the /output subfolder, with the resolution of 150 DPI.

Styling

You can add your own styling by editing the style.py. The styling options follow the requirements of PyPlot

About

pregnancy progress visualization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages