Metadata-Version: 2.4
Name: matplotlib-radar
Version: 0.2.0
Summary: Radar chart for matplotlib
Author: harryhaller001
Maintainer-email: harryhaller001 <harryhaller001@gmail.com>
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Matplotlib
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
License-File: LICENSE
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: ipython ; extra == "docs"
Requires-Dist: myst-parser ; extra == "docs"
Requires-Dist: nbsphinx ; extra == "docs"
Requires-Dist: sphinx ; extra == "docs"
Requires-Dist: sphinx-autoapi ; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints ; extra == "docs"
Requires-Dist: sphinx-book-theme ; extra == "docs"
Requires-Dist: coverage ; extra == "test"
Requires-Dist: flit ; extra == "test"
Requires-Dist: ipykernel ; extra == "test"
Requires-Dist: ipython ; extra == "test"
Requires-Dist: ipywidgets ; extra == "test"
Requires-Dist: mypy ; extra == "test"
Requires-Dist: pre-commit ; extra == "test"
Requires-Dist: pytest ; extra == "test"
Requires-Dist: ruff ; extra == "test"
Requires-Dist: twine ; extra == "test"
Requires-Dist: types-requests ; extra == "test"
Project-URL: Documentation, https://github.com/harryhaller001/matplotlib-radar
Project-URL: Homepage, https://github.com/harryhaller001/matplotlib-radar
Project-URL: Source, https://github.com/harryhaller001/matplotlib-radar
Provides-Extra: docs
Provides-Extra: test

# matplotlib-radar

[![Version](https://img.shields.io/pypi/v/matplotlib-radar)](https://pypi.org/project/matplotlib-radar/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/matplotlib-radar)
[![codecov](https://codecov.io/gh/harryhaller001/matplotlib-radar/graph/badge.svg?token=WO0CGOVJOH)](https://codecov.io/gh/harryhaller001/matplotlib-radar)

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:

```python
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](./docs/source/_static/image/example-radar-chart.jpg)

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

## Development

```bash
# 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

