plotting_utils
A Python package providing elegant wrappers around matplotlib and seaborn functions to make scientific plotting easier and more consistent.
Features
🎨 Color Palettes
- Custom color schemes:
ten_godisnot,darjeeling,fantastic_fox - Palette creation utilities:
create_palette()for generating custom color schemes
📊 Plotting Functions
High-level plotting functions with sensible defaults:
- Basic plots:
scatter(),bar(),box(),strip(),violin() - Distribution plots:
dist(),counts_plot() - Specialized plots:
heatmap(),dotplot(),volcano(),stem_plot(),rank_plot() - Statistical plots: Built-in support for statistical annotations with
add_wilcox()
🛠 Utility Functions
- Styling:
set_rcParams()for Nature journal-style settings - Plot enhancement:
format_ax(),add_legend(),add_cbar() - File operations:
save_best_pdf_quality(),make_folder() - Performance:
Timerclass for benchmarking
Installation
pip install plotting_utils
Quick Start
import plotting_utils as plu
import matplotlib.pyplot as plt
import pandas as pd
# Set journal-style parameters
plu.set_rcParams()
# Create a scatter plot with custom styling
fig, ax = plt.subplots(figsize=(6, 4))
plu.scatter(x, y, c=plu.darjeeling[0], ax=ax)
plu.format_ax(ax, xlabel='X values', ylabel='Y values')
# Save with best quality
plu.save_best_pdf_quality(fig, 'my_plot.pdf')
Dependencies
- matplotlib
- seaborn
- statannotations
- textalloc
- joblib
- scikit-learn
Release History
0.1.4 (2025-09-11)
- Enhanced README with comprehensive documentation
- Added proper package metadata (long_description, author, classifiers)
- Improved PyPI package presentation
0.1.3
- Previous stable release
License
See LICENSE file for details.
Version
Current version: 0.1.4
Metadata
Release files for plotting-utils 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| plotting_utils-0.1.5.tar.gz | 14.0 kB | Without provenance | Details for plotting_utils-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plotting_utils-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for plotting_utils-0.1.5-py3-none-any.whl |
Total release size: 27.7 kB
Release files / plotting_utils-0.1.5.tar.gz
| Download URL | plotting_utils-0.1.5.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2c54c8c28cd21df02cafb892c2350d40da1fcd1023824352eee8e00e15fa0a5
|
|
BLAKE2b-256 checksum How to use checksums |
ef05d27370e5438d1cb98c1ed2dae25945b8322bee57c20384f888ec5a3561ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Release files / plotting_utils-0.1.5-py3-none-any.whl
| Download URL | plotting_utils-0.1.5-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4378b60ec0398b6946897dd085d485f7622dba3640c15a68b70999335b4bb7e8
|
|
BLAKE2b-256 checksum How to use checksums |
1f195c2927596db6121496b8a5f8fa568a1fea7945b601c758d56d591aa876ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Security for plotting-utils 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.