class_docstr: Plotting robustness report,
  return radar figure, sunbrust figure, and bar chart figure.
  
  Example:
      {
          "model_name": "BERT",
          "dataset_name": "medical data",
          "transformation": {
              "Case": {
                  "ori_precision": 0.70,
                  "trans_precision": 0.65,
                  "ori_f1": 0.63,
                  "trans_f1": 0.60,
                  "size": 5000,
              },
              "Ocr": {
                  "ori_precision": 0.72,
                  "trans_precision": 0.43,
                  "ori_f1": 0.62,
                  "trans_f1": 0.41,
                  "size": 5000,
              }
          },
          "subpopulation": {
              "LengthLengthSubPopulation-0.0-0.1": {
                  "trans_precision": 0.68,
                  "trans_f1": 0.63,
                  "size": 500
              }
          },
          "attack": {
              "Bert-Attack": {
                  "ori_precision": 0.72,
                  "trans_precision": 0.43,
                  "ori_f1": 0.62,
                  "trans_f1": 0.41,
                  "size": 400,
              }
          }
      }
class_docstr_tok: ["Plotting","robustness","report",",","return","radar","figure",",","sunbrust","figure",",","and","bar","chart","figure",".","Example",":","{","``","model_name","''",":","``","BERT","''",",","``","dataset_name","''",":","``","medical","data","''",",","``","transformation","''",":","{","``","Case","''",":","{","``","ori_precision","''",":","0.70",",","``","trans_precision","''",":","0.65",",","``","ori_f1","''",":","0.63",",","``","trans_f1","''",":","0.60",",","``","size","''",":","5000",",","}",",","``","Ocr","''",":","{","``","ori_precision","''",":","0.72",",","``","trans_precision","''",":","0.43",",","``","ori_f1","''",":","0.62",",","``","trans_f1","''",":","0.41",",","``","size","''",":","5000",",","}","}",",","``","subpopulation","''",":","{","``","LengthLengthSubPopulation-0.0-0.1","''",":","{","``","trans_precision","''",":","0.68",",","``","trans_f1","''",":","0.63",",","``","size","''",":","500","}","}",",","``","attack","''",":","{","``","Bert-Attack","''",":","{","``","ori_precision","''",":","0.72",",","``","trans_precision","''",":","0.43",",","``","ori_f1","''",":","0.62",",","``","trans_f1","''",":","0.41",",","``","size","''",":","400",",","}","}","}"]
docstr: Get radar figure of linguistic classifications.
docstr_tok: ["Get","radar","figure","of","linguistic","classifications","."]
code: def get_radar_fig(radar_pd):
      r"""
      Get radar figure of linguistic classifications.
  
      """
      fig = px.line_polar(
          radar_pd, r="r", theta="theta", line_close=True
      )
      fig.update_traces(fill="toself")
  
      return fig
  
imports: from __future__ import annotations
  import itertools
  from functools import partial
  from typing import Dict, List
  import dill
  import numpy
  import plotly.graph_objects
  from plotly.subplots import make_subplots
  import plotly.express
  from ..analyzer.analyzer import *
label_desc: Use image node_id 2 for calling the ReportGenerator obj's underlying member method code with example usage: obj.get_radar_fig(radar_pd) and returns: fig