Skip to content

majj/spc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Control Chart

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

Releases

No releases published

Packages

No packages published