πŸ€–Functions

List of Function

There are 2 main functions on radarplot that have their respective uses, here is an explanation of the two functions

def radar(data, category, values, 
              data_minmax = None,
              scaled=None, colors=None, colors_alpha=0.2,
              show_legend=True,
              legend_style='bottom', legend_col=2,
              title=None, title_position=1.08,
              circle=5,
              marker=None, marker_size=3, 
              show_label=False, show_circle = False,
              **kwargs):

Parameters

data : dataframe Dataframe used to create radar plots

category : str column name used as category to create radar plot

values : list a list containing column names from dataframes whose values are used for radar plot comparison

data_minmax : dict, default=None Dictionary that contains a key that contains column names and values containing the min and max values of the column. Created by using the get_minmax() function

scaled : list, default = None List containing range values of variables to be compared

colors : list, default = None The list of colors for the radarplot is numbered according to the objects being compared

colors_alpha : float, default = 0.2 Color Alpha value that sets the transparency level of that color

show_legend : bool, default = True Determine whether or not a legend is displayed

legend_style : {'top', 'bottom'}, default = 'bottom' Determine the location of the legend on the chart above or below

legend_col : int, default = 2 Determine how many columns in the legend

title : str, default = None Display the title written on the plot radar

title_position : float, default = 1.08 Provide a y-axis value where the title is placed

circle : int, default = 5 How many circles are drawn on the graph

marker : str, default = None assigns markers to lines on the radar plots

marker_size : int, default = 3 Setting the marker size

show_label : bool, default = False Display value labels on the radar plot

show_circle : bool, default = False Display circles on a graph

Last updated