Skip to main content

Radar chart for matplotlib

Project description

matplotlib-radar

Version PyPI - Python Version codecov

Feature-rich generation of radar chart based on matplotlib.

Quick start

Install package with pip install matplotlib-radar or uv add matplotlib-radar.

Example code to generate radar chart:

from matplotlib_radar import radar_chart
import numpy as np

radar_chart(
    label=["A", "B", "C", "D", "E"],
    data={"Sample 1": np.random.rand(5), "Sample 2": np.random.rand(5), "Sample 3": np.random.rand(5)},
    rotation=5,
    title="Radar chart with multiple samples",
)

Example radar chart

For more plotting examples, check out the vignette notebook in the documentation.

Development

# Clone repo
git clone https://github.com/harryhaller001/matplotlib-radar
cd matplotlib-radar

# Setup virtualenv
uv venv

# Install dependencies and setup precommit hook
make install

# Run all checks
make format
make testing
make typing
make build

License

MIT license

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

matplotlib_radar-0.2.0.tar.gz (145.8 kB view details)

Uploaded Source

Built Distribution

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

matplotlib_radar-0.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file matplotlib_radar-0.2.0.tar.gz.

File metadata

  • Download URL: matplotlib_radar-0.2.0.tar.gz
  • Upload date:
  • Size: 145.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for matplotlib_radar-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6e9035142418636595496a1f10f3176bee0f49c378be4de0ba44f6498c6daa2d
MD5 5871df66e20b8c26c2349d2d55715a69
BLAKE2b-256 34925e73644d6cfd8142bd11f0a669d1466473cff5be44b4f55c7aeeb0c0fcf5

See more details on using hashes here.

File details

Details for the file matplotlib_radar-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for matplotlib_radar-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 017f5e05c8e6a53bf40104dddea998517bb8737283b281c8af94d1fc56d924f3
MD5 1443097fa4aea8c40353eb12a919d18a
BLAKE2b-256 2f57d5ec651456cd022b2ce6047ed7f689c0f899ed794bd3a98d54d675fa56a7

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