Skip to main content

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

Reason this release was yanked:

outdated version

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.4.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.4-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ishikawa-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 0edf16ec45e7b2eb0c045ea24e02f17ef89e73242caa43831d6497b65673bc6d
MD5 5e241a957e76c64543fb211abcd18146
BLAKE2b-256 33d56e831bf8e3c81483fc6a3a1b9528e91774a496956d48906b661a79af9017

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ishikawa-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7d9335436fb8cf87c082be0cdeadce67080cdc7ea2256fec6872191c35d8ceca
MD5 e97f94dd0880ade2511428006e59711e
BLAKE2b-256 2a0e64c989da53e3a1a8d37cb684576de0eb38b0f127807466b8d705dc3628e3

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