code: def _get_pareto_front_plot(info: _ParetoFrontInfo) -> "Axes":
      if info.n_targets == 2:
          return _get_pareto_front_2d(info)
      elif info.n_targets == 3:
          return _get_pareto_front_3d(info)
      else:
          assert False, "Must not reach here"
  
file_path: optuna/optuna/visualization/matplotlib/_pareto_front.py
imports: from __future__ import annotations
  from typing import Callable
  from typing import Sequence
  from optuna._experimental import experimental_func
  from optuna.study import Study
  from optuna.trial import FrozenTrial
  from optuna.visualization._pareto_front import _get_pareto_front_info
  from optuna.visualization._pareto_front import _ParetoFrontInfo
  from optuna.visualization.matplotlib._matplotlib_imports import _imports
label_desc: Use image node_id 2 for calling a global function with example usage: _get_pareto_front_plot(info) and returns: _get_pareto_front_2d, _get_pareto_front_3d