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.1.1.tar.gz (4.2 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.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plot_shift-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f06026fca756a00c69fde74f5c0dcc9e08913bec564f395090586a3ef5ea3f3e
MD5 db61e9efcb4270d3a86d5361711d59c0
BLAKE2b-256 63521e6803b420d50ff6226d24506c9bf8744c58450bc87c810978f621f1610d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for plot_shift-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66287627e87d7c31bd1c37e1d4b1421ee3b71dbb1a9fb61fa321f79f6a9c9ac9
MD5 b4f4681abe0d70163e0a93a1d464b7e1
BLAKE2b-256 1e21cfc09597533d19f7652bf2ee5c87962464ba005060c662903b5c42736dc2

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