code: def _get_risk_analysis_figure(
      analysis_df: pd.DataFrame,
  ) -> Iterable[py.Figure]:
      """Get analysis graph figure
  
      :param analysis_df:
      :return:
      """
      if analysis_df is None:
          return []
  
      _figure = SubplotsGraph(
          _get_all_risk_analysis(analysis_df),
          kind_map=dict(kind="BarGraph", kwargs={}),
          subplots_kwargs={"rows": 1, "cols": 4},
      ).figure
      return (_figure,)
  
file_path: qlib/qlib/contrib/report/analysis_position/risk_analysis.py
imports: from typing import Iterable
  import pandas
  import plotly.graph_objs
  from ...evaluate import risk_analysis
  from ..graph import SubplotsGraph, ScatterGraph
label_desc: Use image node_id 5 for calling a global function with example usage: _get_risk_analysis_figure(analysis_df) and returns: _figure, list