code: def plot_feature_importance_by_feature(
      model: Optional[ModelBridge] = None,
      sensitivity_values: Optional[
          Dict[str, Dict[str, Union[float, np.ndarray]]]
      ] = None,
      relative: bool = False,
      caption: str = "",
      importance_measure: str = "",
  ) -> AxPlotConfig:
      """Wrapper method to convert `plot_feature_importance_by_feature_plotly` to
      AxPlotConfig"""
      return AxPlotConfig(
          data=plot_feature_importance_by_feature_plotly(
              model=model,
              sensitivity_values=sensitivity_values,
              relative=relative,
              caption=caption,
              importance_measure=importance_measure,
          ),
          plot_type=AxPlotTypes.GENERIC,
      )
  
file_path: Ax/ax/plot/feature_importances.py
imports: from logging import Logger
  from typing import Any, Dict, Optional, Union
  import numpy
  import pandas
  import plotly.graph_objs
  from ax.exceptions.core import NoDataError
  from ax.modelbridge import ModelBridge
  from ax.plot.base import AxPlotConfig, AxPlotTypes
  from ax.plot.helper import compose_annotation
  from ax.utils.common.logger import get_logger
  from plotly import subplots
label_desc: Use image node_id 6 for calling a global function with example usage: plot_feature_importance_by_feature(model, sensitivity_values, relative, caption, importance_measure) and returns: AxPlotConfig