Skip to main content

Simple music-data visualization built on matplotlib.

Project description

tuneviz

Simple music-data visualization built on matplotlib. Two plain functions, one clean sage-green aesthetic.

Install

pip install tuneviz

Usage

import pandas as pd
import tuneviz as viz

df = pd.DataFrame({
    "tempo": [90, 120, 140, 100, 128],
    "energy": [0.4, 0.7, 0.9, 0.5, 0.8],
})

# Scatter plot of two columns
viz.scatter(df, "tempo", "energy")

# Line plot of two columns
viz.lines(df, "tempo", "energy")

# Optional descriptive title
viz.scatter(df, x="energy", y="danceability", title="Energy tracks danceability")

Each function reads two columns from a pandas DataFrame, styles the plot, labels the axes, adds a title, and shows it.

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

tuneviz-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

tuneviz-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file tuneviz-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for tuneviz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f82b455bac43896f7d6a3f82f937f7fc69465b2bd25d06ceb048275a7d76db62
MD5 7a944045ee1bf303eadda217853f8726
BLAKE2b-256 7982db0f75d2f7fa02e764a0e704b0498c0c02bf4ae6431789951ab5b3ec63f5

See more details on using hashes here.

File details

Details for the file tuneviz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tuneviz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for tuneviz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdb53829c185a3a67370a9a3463391ec8395f517af5e8e303a9eccdc8c13a3f7
MD5 b11bbf95eeb3a322d0dfee51430457e1
BLAKE2b-256 22c55f5bf07411c8600d42f6e1725f939f263568d8d0ad946e969c7dfe881308

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