PlotDefaults.caps2radar#

static PlotDefaults.caps2radar()[source]#

Plotting defaults for CAP.caps2radar.

Returns:

dict[str, Any] – Default parameters for radar plots:

  • General Figure Parameters:

    • scaleint, default=2 –

      Controls resolution of image when saving (similar to dpi).

    • heightint, default=800 –

      Height of the plot.

    • widthint, default=1200 –

      Width of the plot.

    • bgcolorstr, default=”white” –

      Color of the background.

  • Trace and Marker Parameters:

    • line_closebool, default=True –

      Whether to close the lines.

    • fillstr, default=”toself” –

      If “toself” the area within the boundaries of the line will be filled.

    • scattersizeint, default=8 –

      Controls size of the dots when markers are used.

    • connectgapsbool, default=True –

      If use_scatterpolar=True, controls if missing values are connected.

    • opacityfloat, default=0.5 –

      If use_scatterpolar=True, sets the opacity of the trace.

    • linewidthint, default=2 –

      The width of the line connecting the values if use_scatterpolar=True.

    • modestr, default=”markers+lines” –

      Determines how the trace is drawn.

  • Axis Parameters:

    • radialaxisdict, 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.

    • angularaxisdict, 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.

  • Color Parameters:

    • color_discrete_mapdict, 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.

  • Title and Legend Parameters:

    • title_fontdict, default={“family”: “Times New Roman”, “size”: 30, “color”: “black”} –

      Modifies the font of the title.

    • title_xfloat, default=0.5 –

      Modifies x position of title.

    • title_yfloat or None, default=None –

      Modifies y position of title.

    • legenddict, 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.

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.