class_docstr: Radar (aka spider) plot for comparing data bearing multiple dimensions.
class_docstr_tok: ["Radar","(","aka","spider",")","plot","for","comparing","data","bearing","multiple","dimensions","."]
code: def _plot(self) -> plt.figure:
      theta = _radar_factory(len(self.df))
      fig = plt.figure(figsize=self.figsize)
      ax = fig.add_subplot(1, 1, 1, projection="radar")
  
      ylo = np.round(self.df.min().min(), 2)
      yhi = np.round(self.df.max().max(), 2)
      ax.set_rgrids(np.round(np.linspace(ylo, yhi, num=self.nticks), 2))
      colors = cycle(self.PALETTE)
      for i, col in enumerate(self.df.columns):
          color = next(colors)
          ax.plot(
              theta,
              self.df[col].values,
              color=color,
              linewidth=self.linewidth,
          )
          ax.fill(
              theta, self.df[col].values, color=color, alpha=self.alpha
          )
      ax.set_varlabels(self.df.index)
      if self.legend:
          ax.legend(
              self.df.columns,
              loc=(0.9, 0.9),
              labelspacing=0.1,
              fontsize="small",
          )
  
      plt.tight_layout()
      plt.close(fig)
      return fig
  
file_path: tslumen/tslumen/plot/static/comparison.py
imports: from typing import Tuple, Any
  from dataclasses import dataclass
  from itertools import cycle
  import numpy
  import pandas
  import matplotlib.pyplot
  from matplotlib.patches import Circle
  from matplotlib.projections.polar import PolarAxes
  from matplotlib.projections import register_projection
  from matplotlib.ticker import StrMethodFormatter
  from tslumen.plot.static.base import Figure
label_desc: Use image node_id 1 for calling the Radar obj's underlying member method code with example usage: obj._plot() and returns: fig