code: def render(
      plot_config: AxPlotConfig, inject_helpers: bool = False
  ) -> None:
      """Render plot config."""
      if plot_config.plot_type == AxPlotTypes.GENERIC:
          iplot(plot_config.data)
      elif plot_config.plot_type == AxPlotTypes.HTML:
          assert "text/html" in plot_config.data
          display(plot_config.data, raw=True)
      else:
          display_bundle = {
              "text/html": plot_config_to_html(
                  plot_config, inject_helpers=inject_helpers
              )
          }
          display(display_bundle, raw=True)
  
imports: from logging import Logger
  from ax.plot.base import AxPlotConfig, AxPlotTypes
  from ax.plot.render import _js_requires, _wrap_js, plot_config_to_html
  from ax.utils.common.logger import get_logger
  from IPython.display import display
  from plotly.offline import init_notebook_mode, iplot
label_desc: Use image node_id 2 for calling a global function with example usage: render(plot_config, inject_helpers) without return types