Ishikawa: package to design ishikawa diagram based on matplotlib
Project description
Author: Kaike Sa Teles Rocha Alves (adapted from matplotlib)
Ishikawa: package to design ishikawa diagram based on matplotlib developed by Kaike Alves adapted from matplotlib (https://matplotlib.org/stable/gallery/specialty_plots/ishikawa_diagram.html).
Author: Kaike Sa Teles Rocha Alves (PhD)
Email: kaikerochaalves@outlook.com or kaike.alves@estudante.ufjf.br
Github repository: https://github.com/kaikerochaalves/Ishikawa.git
Cite:
Description:
Ishikawa: package to design ishikawa diagram based on matplotlib.
Instructions
To install the library use the command:
pip install ishikawa
To import type:
from ishikawa.diagram import Ishikawa
Hyperparameters:
data : dict
A dictionary of problem categories and their associated causes.
figsize : tuple, optional
The size of the plot figure.
Example of Ishikawa:
from ishikawa.diagram import Ishikawa
# Define categories
categories = {
'Method': ['Time consumption', 'Cost', 'Procedures', 'Inefficient process', 'Sampling'],
'Machine': ['Faulty equipment', 'Compatibility'],
'Material': ['Poor-quality input', 'Raw materials', 'Supplier', 'Shortage'],
'Measurement': ['Calibration', 'Performance', 'Wrong measurements'],
'Environment': ['Bad conditions'],
'People': ['Lack of training', 'Managers', 'Labor shortage', 'Procedures', 'Sales strategy']
}
# Create an instance of the diagram
fishbone_diagram = Ishikawa(categories)
# Call the draw method to generate the plot
fishbone_diagram.draw()
# Show the plot
fishbone_diagram.plot_and_save()
Note: Do not use more than 6 categories or 5 causes per category. Otherwise you are going to have issues with formatting.
Extra information
The fuzzy models are quite fast, but the genetic and ensembles are still a bit slow. If you think you can contribute to this project regarding the code, speed, etc., please, feel free to contact me and to do so.
Code of Conduct:
Please read the Code of Conduct for guidance.
Call for Contributions:
The project welcomes your expertise and enthusiasm!
Small improvements or fixes are always appreciated. If you are considering larger contributions to the source code, please contact by email first.
Metadata
Release files for ishikawa 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ishikawa-0.0.5.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ishikawa-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.4 kB
Release files / ishikawa-0.0.5.tar.gz
| Download URL | ishikawa-0.0.5.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2379c48135231707b68223ed96cdbd5d8fb46918a3eb3e89d1c28fed8a5551ae
|
|
BLAKE2b-256 checksum How to use checksums |
7077bb2d4533c1762e341224d32b97a5b9171b13b076ec137c0c2424150be8c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / ishikawa-0.0.5-py3-none-any.whl
| Download URL | ishikawa-0.0.5-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dcbb64cae2fcd60bc27c268b93254d4fe04b4c7dcff40042a6911de41fb7279
|
|
BLAKE2b-256 checksum How to use checksums |
9988783472e5a303ccadcfdcb5e5c955f05dcde5888cfba14f722286af259707
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|