spc
spc copied to clipboard
Process Control charts for Humans
What are control charts?
Control charts are really useful tools to help you understand how 'in control your process is' so you can help make process changes based on evidence, rather than bullshit.
You can read the docs about the library and control charts here.
Installing
To install the latest release from (PyPI)[http://pypi.python.org/pypi/spcchart]
$ pip install spcchart
To install the latest development version from (GitHub)[https://github.com/bwghughes/spc]
$ pip install git+git://github.com/bwghughes/spc.git
An example:
Command Line Usage
pip install spcchart
and run:
spcchart --data=32,45,65,667,767,78,887,879,99,98,98,98 --title="I can see now"
and hip hip hooray, an svg will be placed in your current working directory. Open with any browser and you're away.
Python Library Use
>>> from spcchart import SpcChart
>>> data = [1,2,3,4,5,6,7,8,9,8,7,6,5,5,5,4,4,3,3,2,2,2,3,4,5,5,5]
>>> c = SpcChart(data, title="Flow Ho")
>>> c.render()
To do
- Factor out numpy - its a bit overkill.
- Add themes to charts