Skip to main content

bakerviz

Warm, earthy charts and simple analysis helpers for pandas DataFrames — built on pandas + matplotlib only.

bakerviz gives you two things:

  1. A curated cool/earthy chart aesthetic led by a slate blue, with ochre, sage, pine, plum, rose, and deep petrol/brick accents — a cooler, blue-leaning take on earth tones. Shapes lean soft and rounded — rounded bar corners and rounded line ends — for an organic feel.
  2. Simple analysis functions that take a DataFrame and hand back plain pandas objects you can read, print, or plot.

gallery

Install

pip install -e .

Quick start

import pandas as pd
import bakerviz

df = pd.read_csv("my_data.csv")

# --- simple analysis (returns DataFrames) ---
bakerviz.overview(df)        # dtype, missing count/%, unique per column
bakerviz.summarize(df)       # count/mean/median/std/min/max per numeric column
bakerviz.top_values(df, "region", n=5)
bakerviz.correlations(df)    # numeric correlation matrix

# --- themed charts (return matplotlib fig, ax) ---
fig, ax = bakerviz.bar(df, x="region", y="sales")          # each bar a palette color; horizontal=True works too
fig, ax = bakerviz.line(df, x="month", y=["sales", "revenue"])
fig, ax = bakerviz.hist(df, "sales", bins=24)
fig, ax = bakerviz.scatter(df, "units", "sales", hue="rating")
fig, ax = bakerviz.corr_heatmap(df)

# --- creative infographics ---
fig, ax = bakerviz.waffle(df, "region")                    # parts-of-a-whole grid
fig, ax = bakerviz.streamgraph(df, x="month", ys=["North", "South", "East", "West"])

fig.savefig("chart.png")

Every plotting function returns the (fig, ax) pair, so you can keep customizing with ordinary matplotlib, or pass your own ax= to draw into an existing subplot grid.

Using the theme on your own plots

import matplotlib.pyplot as plt
import bakerviz

bakerviz.apply_theme()            # style all subsequent matplotlib plots
fig, ax = plt.subplots()
ax.plot([0, 1, 2], [3, 1, 4])

# The palette is available directly, too:
bakerviz.PALETTE      # ordered list of hex colors
bakerviz.COLORS       # named colors: COLORS["slate"], COLORS["ochre"], ...

apply_theme() also sets an editorial serif font (Georgia / Palatino / Charter if installed, otherwise the bundled DejaVu Serif) to match the warm, earthy palette.

API

All functions live in the top-level bakerviz package.

Analysis — take a DataFrame, return pandas objects: overview, summarize, top_values, correlations.

Plots — take a DataFrame, return (fig, ax): bar, line, hist, scatter, corr_heatmap, plus the infographics waffle and streamgraph.

Theme: apply_theme(), plus PALETTE and COLORS.

Development

pip install -e ".[dev]"
pytest
python examples/demo.py   # regenerate examples/gallery.png

Metadata

Release files for bakerviz 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bakerviz 0.5.0
File Size Uploaded Provenance
bakerviz-0.5.0.tar.gz 7.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bakerviz 0.5.0
File Interpreter ABI Platform
bakerviz-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / bakerviz-0.5.0.tar.gz

Download URL bakerviz-0.5.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ceea89319ef735966d7ae49010ff0217181de66315523fd9b50c645354b82171
BLAKE2b-256 checksum
How to use checksums
648fe48430d2285cf9dec900850c5333b0f07c50bad491b32a2cf032619743ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / bakerviz-0.5.0-py3-none-any.whl

Download URL bakerviz-0.5.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caaeac2f70f6f4dfa9d0d3cfe2d1ef920379cc20c7f22c397f1d0165daadf4f1
BLAKE2b-256 checksum
How to use checksums
562eb0b1bd6fefd165412b17af2a6fcc8176c96814819dda3759752b0847a83d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for bakerviz 0.5.0

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.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page