code: def _make_hovertext(trial: FrozenMultiObjectiveTrial) -> str:
      text = json.dumps(
          {
              "number": trial.number,
              "values": trial.values,
              "params": trial.params,
          },
          indent=2,
      )
      return text.replace("\n", "<br>")
  
file_path: optuna/optuna/multi_objective/visualization/_pareto_front.py
imports: import json
  from typing import List
  from typing import Optional
  import optuna
  from optuna import multi_objective
  from optuna._deprecated import deprecated_func
  from optuna.multi_objective.study import MultiObjectiveStudy
  from optuna.multi_objective.trial import FrozenMultiObjectiveTrial
  from optuna.trial import TrialState
  from optuna.visualization._plotly_imports import _imports
label_desc: Use image node_id 5 for calling a global function with example usage: _make_hovertext(trial) and returns: text