Skip to main content

A tiny, themed data-visualization library with a warm boutique aesthetic, built on matplotlib.

Project description

urbn_viz

A tiny, themed data-visualization library built on matplotlib. A handful of guessable functions that draw charts in a warm boutique palette — an original interpretation of the Pantone 2025 Color-of-the-Year mood (Mocha Mousse, olive, lilac, burnt orange, cranberry on a greige canvas). Every chart follows the Evergreen & Emery checklist, using one vivid action color with the supporting hues softened rather than grayed out.

Install

pip install urbn-viz-chloejbuhl

Quick start

import pandas as pd
import urbn_viz as uv

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

ax = uv.bar(df, x="category", y="current_price", agg="sum",
            colorful=True, highlight="Outerwear", value_fmt="${:,.0f}",
            title="Outerwear drives the most revenue, ~$49K",
            subtitle="Total current_price by category")
ax.figure.savefig("revenue.png", bbox_inches="tight")

Every function takes a DataFrame plus column names and never mutates it. Single-axes functions return the matplotlib Axes; faceted functions return the Figure.

Functions

Function Draws
bar Ordered bars; colorful=True gives each bar its own hue with the highlight bar vivid and the rest muted
line Single ordered line, final point labeled
hist Distribution of one column with the mean marked
scatter x vs y, optionally split/emphasized by a category
facet_hist Small-multiple histograms, one panel per category
dumbbell Two dots per category (e.g. original vs selling price)

Helpers: apply_theme(), mute(hex), category_colors(labels), PALETTE, PALETTE_CYCLE.

The palette

Role / hue Hex
Canvas #EAE6DD
Ink #2C2824
Mocha #A47864
Apple #A79555
Lilac #DCCEDF
Burnt orange #D57239
Cranberry (default action) #712E37
Plum / Camel (bridge tones) #8E5E6E / #C9A66B

mute() keeps a hue but drops its saturation and lifts its lightness, so the non-action elements stay softly colored instead of turning gray.

License

MIT.

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

urbn_viz_chloejbuhl-0.1.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

urbn_viz_chloejbuhl-0.1.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: urbn_viz_chloejbuhl-0.1.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for urbn_viz_chloejbuhl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8b5788eed1f6cfef01b97e9eaea777cc7ac8c18e42361b6d59c379d2dd123986
MD5 a757f1acefccdae8084325a3d3aa09c7
BLAKE2b-256 4316704c54899cd44ddda8d280c5983e7317aed476fd6ccbed271890a03a160e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for urbn_viz_chloejbuhl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b94305ed985db6479a5cad097a55ab4e514ff217664d4df6f5f402688aeda622
MD5 e853b17f4df0f94e7b4cd3666e58fcdc
BLAKE2b-256 6117d664de3aa66f544b02a23abc0acbe3666a5c6a1d5a44275aafd0fcb29711

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