# SPC
**Repository Path**: lichaohit/SPC
## Basic Information
- **Project Name**: SPC
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-06-06
- **Last Updated**: 2025-06-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# SPC
Use python to draw control charts
Base on Matt Harrison's [Python SPC](https://github.com/mattharrison/python-spc) to fixed some bugs and also updated some lines from Python2 to Python3.
Fixed bugs:
1. Xbar_R and Xbar_S charts without subgroup (Xset)
2. P and C chart can use different subgroup size (Sizes)
At this moment, to run "SPC.py" can not use "pip install" to setup to your computer,
but can download the "SPC.py" to your computer, also add two lines in your code as below:
```
import sys
sys.path.append('/Python/SPC') # instead "/Python/SPC" to your path where "SPC.py" is.
```
For more detail of how to use SPC, pls refer the [Demo.ipynb](https://github.com/BobXie-git/SPC/blob/master/SPC%20Demo.ipynb)