Skip to main content

ADeLe plotting utilities for radial response visualizations.

Project description

adele-plot

Reusable plotting package for ADeLe radial response plots.

Install

pip install adele-plot

Input format

plot_response_pie(...) accepts either:

  • wide pandas.DataFrame where each capability is a column and each cell is a demand level, or
  • a pre-aggregated matrix with shape (6, n_capabilities) (levels x capabilities).

Quickstart

from adele_plot import DEFAULT_CAPABILITIES, plot_response_pie

result = plot_response_pie(df, title="ADeLe Response Pie", add_colorbar=True)

Default capabilities are:

DEFAULT_CAPABILITIES = (
    "AS", "CEc", "CEe", "CL", "MCr", "MCt", "MCu", "MS", "QLl",
    "QLq", "SNs", "KNa", "KNc", "KNf", "KNn", "KNs", "AT", "VO",
)

For DataFrame input, if capabilities is not provided, the function automatically uses the intersection of DataFrame columns and DEFAULT_CAPABILITIES in that exact order.

Development

uv sync --extra dev
uv run pytest
uv run python -m build
uv run twine check dist/*

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

adele_plot-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

adele_plot-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adele_plot-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for adele_plot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42572bd56068d9239dd198cf6e604b8fde1d3738f56b7a872792dda3e219e066
MD5 828e171f19c64b560dfba69d526fde2c
BLAKE2b-256 33c01249e4cf93d9085f47af168d2b23a74132290de067ede16c87510b0dfff9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adele_plot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for adele_plot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a54d33c9fb60e5b38e6be68493a0c468328ba0c1bd693ca45ebc0529b2d2d592
MD5 00721de2892df18b24f0e3e00552978e
BLAKE2b-256 04e0053d33d6d14263abda54e601b8117e9d1e09502839cebed883cea0bf5478

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