PubliPlots Documentation¶
PubliPlots is a Python library for creating publication-ready plots with a clean, modular API. It provides a seaborn-like interface with sensible defaults and extensive customization options.
Features¶
Publication-ready plots: Beautiful, journal-quality visualizations out of the box
Seaborn-like API: Familiar, intuitive interface for matplotlib users
Extensive customization: Fine-grained control over all visual elements
Advanced plot types: Venn diagrams (2-5 way), UpSet plots, bubble plots, and more
Flexible styling: Built-in themes for notebook and publication formats
Type hints: Full type annotation support for better IDE integration
Quick Start¶
Installation¶
pip install publiplots
Basic Usage¶
import publiplots as pp
import pandas as pd
import numpy as np
# Create sample data
data = pd.DataFrame({
'category': ['A', 'B', 'C', 'D'],
'value': [23, 45, 38, 52]
})
# Create a simple bar plot
ax = pp.barplot(
data=data,
x='category',
y='value',
title='Simple Bar Plot',
xlabel='Category',
ylabel='Value'
)
# Save the figure
pp.savefig('output.png')
Table of Contents¶
Getting Started
Examples Gallery
API Reference
- API Reference
- Plotting Functions
- publiplots.barplot
- publiplots.boxplot
- publiplots.violinplot
- publiplots.raincloudplot
- publiplots.stripplot
- publiplots.swarmplot
- publiplots.pointplot
- publiplots.scatterplot
- publiplots.lineplot
- publiplots.errorbarplot
- publiplots.regplot
- publiplots.residplot
- publiplots.histplot
- publiplots.kdeplot
- publiplots.hexbinplot
- publiplots.heatmap
- publiplots.complex_heatmap
- publiplots.dendrogram
- publiplots.venn
- publiplots.upsetplot
- publiplots.annotate
- Style and Theming
- publiplots.reset_style
- publiplots.color_palette
- publiplots.set_hatch_mode
- publiplots.get_hatch_mode
- publiplots.get_hatch_patterns
- publiplots.list_hatch_patterns
- publiplots.resolve_markers
- publiplots.resolve_marker_map
- publiplots.resolve_hatches
- publiplots.resolve_hatch_map
- publiplots.STANDARD_MARKERS
- publiplots.HATCH_PATTERNS
- Utilities
- Legend Utilities
- Configuration
- Plotting Functions
Additional Information