PlotDefaults.caps2radar#
- static PlotDefaults.caps2radar()[source]#
Plotting defaults for
CAP.caps2radar.- Returns:
dict[str, Any] – Default parameters for radar plots:
General Figure Parameters:
- scale
int, default=2 – Controls resolution of image when saving (similar to dpi).
- scale
- height
int, default=800 – Height of the plot.
- height
- width
int, default=1200 – Width of the plot.
- width
- bgcolor
str, default=”white” – Color of the background.
- bgcolor
Trace and Marker Parameters:
- line_close
bool, default=True – Whether to close the lines.
- line_close
- fill
str, default=”toself” – If “toself” the area within the boundaries of the line will be filled.
- fill
- scattersize
int, default=8 – Controls size of the dots when markers are used.
- scattersize
- connectgaps
bool, default=True – If
use_scatterpolar=True, controls if missing values are connected.
- connectgaps
- opacity
float, default=0.5 – If
use_scatterpolar=True, sets the opacity of the trace.
- opacity
- linewidth
int, default=2 – The width of the line connecting the values if
use_scatterpolar=True.
- linewidth
- mode
str, default=”markers+lines” – Determines how the trace is drawn.
- mode
Axis Parameters:
- radialaxis
dict, default={“showline”: False, “linewidth”: 2, “linecolor”: “rgba(0, 0, 0, 0.25)”, “gridcolor”: “rgba(0, 0, 0, 0.25)”, ticks”: “outside”, “tickfont”: {“size”: 14, “color”: “black”}} – Customizes the radial axis.
- radialaxis
- angularaxis
dict, default={“showline”: True, “linewidth”: 2, “linecolor”: “rgba(0, 0, 0, 0.25)”, “gridcolor”: “rgba(0, 0, 0, 0.25)”, “tickfont”: {“size”: 16, “color”: “black”}} – Customizes the angular axis.
- angularaxis
Color Parameters:
- color_discrete_map
dict, default={“High Amplitude”: “rgba(255, 0, 0, 1)”, “Low Amplitude”: “rgba(0, 0, 255, 1)”} – Change the color of the “High Amplitude” and “Low Amplitude” groups.
- color_discrete_map
Title and Legend Parameters:
- title_font
dict, default={“family”: “Times New Roman”, “size”: 30, “color”: “black”} – Modifies the font of the title.
- title_font
- title_x
float, default=0.5 – Modifies x position of title.
- title_x
- title_y
floatorNone, default=None – Modifies y position of title.
- title_y
- legend
dict, default={“yanchor”: “top”, “xanchor”: “left”, “y”: 0.99, “x”: 0.01, title_font_family”: “Times New Roman”, “font”: {“size”: 12, “color”: “black”}} – Customizes the legend.
- legend
Note
Radial Axis: Refer to Plotly’s radialaxis Documentation or Plotly”s polar Documentation
Angular Axis: Refer to Plotly’s angularaxis Documentation or Plotly”s polar Documentation for valid keys.
Title Font: Refer to Plotly’s layout Documentation for valid keys.
Legend: Refer to Plotly’s layout Documentation for valid keys.