Skip to main content

A Python package for advanced plotting utilities.

Project description

PLOT-SHIFT

PLOT-SHIFT

A growing collection of Python utilities for advanced data visualization, with a focus on exploratory data analysis. This project is a personal effort to gather and refine useful plotting functions developed during my data science studies and research.

Purpose

The goal of this package is to provide reusable, well-documented visualization tools that support a variety of data science workflows. Over time, new plotting functions and utilities will be added as they are created or improved.

Features

  • Visualizations for cluster analysis, including silhouette diagram matrices
  • Designed for integration with scikit-learn and other common data science libraries
  • Usable in research, notebooks, and production code

Installation

Install via PDM (recommended):

pdm add plot-shift

Or with pip (after publishing to PyPI):

pip install plot-shift

Note: If you are using the code locally (not from PyPI), make sure your PYTHONPATH includes the src/ directory, or install the package in editable mode:

pip install -e ./src

Usage

Import and use the available plotting functions in your data science projects. Example for clustering visualization:

from plot_shift.silhouette_diagram import silhouette_diagram

# Example usage:
silhouette_diagram(
    k,                          # Number of clusters
    y_pred,                     # Predicted cluster labels
    silhouette_coefficients,    # Silhouette coefficients for sample
    silhouette_score,           # Silhouette score for sample
    ax,                         # Matplotlib Axes object
)

More plotting functions will be added over time. See the notebooks/ directory for practical examples and demonstrations.

Contributing

Contributions and suggestions are welcome! If you have a useful plotting function or improvement, feel free to open an issue or pull request.

License

MIT License

Author

Koen van Esterik

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

plot_shift-0.2.4.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

plot_shift-0.2.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file plot_shift-0.2.4.tar.gz.

File metadata

  • Download URL: plot_shift-0.2.4.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.3 CPython/3.11.5 Darwin/24.5.0

File hashes

Hashes for plot_shift-0.2.4.tar.gz
Algorithm Hash digest
SHA256 fad97dc9a1d0d21025939d326cbaade3ba4a5b08c8420dce220137fa5a57a763
MD5 50f82dac74a0bc475281a8397f7b1be3
BLAKE2b-256 264173b20a3094ce48d54968c66df396691e9b32d57062eb80dd462cbfac03d1

See more details on using hashes here.

File details

Details for the file plot_shift-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: plot_shift-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.3 CPython/3.11.5 Darwin/24.5.0

File hashes

Hashes for plot_shift-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2697c57c641942174531248d417777b6ea86cb19e155082d7edbc9f1efd3dbfb
MD5 31e0d6d9ad01ddc092adaf927ac2ebdd
BLAKE2b-256 8c165c7a7c55d259270814525988ba48491ff2012a0920cbd05c2cdf39a765dd

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