Radar Chart Package
This is a simple radar chart package to quickly use and visualise radar charts using a single function.
from radar_chart.radar_chart import radar_chart
import matplotlib.pyplot as plt
import numpy as np
from random import random
labels = 'ATK STR DEF MAG RNG'.split()
values = [random()*100 for i in labels]
radar_chart(values, labels, line_color='red', fill_color='red')
plt.show()
labels = [str(i) + ":00" for i in range(1,13)][::-1]
values = [random()*1000 for i in range(len(labels))]
radar_chart(values, labels, y_ticks=False, rotate=90)
plt.show()
Parameters:
stats: sequence of scalarcat_labels: sequence of string, defaultNone. Labels for each value instratsline_color: string, default#1E88E5. Defines the line color that joins the plotted values.fill_color: string, default#1E88E5. Defines the fill color of the plot area.marker: string, defaultNone. Marker style e.g.+,x,o.marker_alpha: float between 0-1, default1. Sets the transparency of the marker (0: Transparent, 1: Opaque).fill_alpha: float between 0-1, default1. Sets the transparency of the fill of the plot area (0: Transparent, 1: Opaque).rotate: float, default'Degrees'. Default setting does nothing. Accepts degrees (which is converted to radians) and rotates the plot clockwise.reverse_rotationbool, defaultFalse. Direction of the plot is reversed ifTrue.y_tickssequence of scalar/string or bool, defaultTrue. Default will set y-tick labels according tostatsvalues. No y-tick labels ifFalse. Sets sequence as y-tick labels if sequence.x_tickssequence of scalar/string or bool, defaultTrue. Default will set y-tick labels according tocat_labelsvalues. No y-tick labels ifFalse. Sets sequence as x-tick labels if sequence.gridlinebool, defaultTrue. Removes gridlines ifFalsegridline_colorstring, default'#888888'. Defines the color of the gridlines.gridline_widthfloat, default0.3. Defines the width of the gridlines.
Metadata
Release files for radar-chart 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| radar-chart-0.0.5.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| radar_chart-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / radar-chart-0.0.5.tar.gz
| Download URL | radar-chart-0.0.5.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f0fda4e933d6cfe8e400b0fbcac16a13d2a0eb9cd839f194fff72561915840b
|
|
BLAKE2b-256 checksum How to use checksums |
5ccef939faa8c251e3b9063819d3020251bd0252cf6b96691fff92c152ca0e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / radar_chart-0.0.5-py3-none-any.whl
| Download URL | radar_chart-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa8cd6a51c3ed6225eee8539459c0855196971c90ba985fa8d050b43f5f3edc9
|
|
BLAKE2b-256 checksum How to use checksums |
d144f653dcd6c8f450c8504b5d68ee5c0bad0360a0e80402a46ca3b76b59fd7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|