Skip to main content

Ishikawa is a library used to draw a fish (also known as ishikawa) diagram

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ishikawa-0.0.5.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ishikawa-0.0.5-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file ishikawa-0.0.5.tar.gz.

File metadata

  • Download URL: ishikawa-0.0.5.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for ishikawa-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2379c48135231707b68223ed96cdbd5d8fb46918a3eb3e89d1c28fed8a5551ae
MD5 f0e3560a9dd05f3ff13e49621b26eac9
BLAKE2b-256 7077bb2d4533c1762e341224d32b97a5b9171b13b076ec137c0c2424150be8c6

See more details on using hashes here.

File details

Details for the file ishikawa-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ishikawa-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for ishikawa-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1dcbb64cae2fcd60bc27c268b93254d4fe04b4c7dcff40042a6911de41fb7279
MD5 8fb594f98568ea01d34e37c6fac77beb
BLAKE2b-256 9988783472e5a303ccadcfdcb5e5c955f05dcde5888cfba14f722286af259707

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page