code: def _get_hypervolume_history_plot(
      info: _HypervolumeHistoryInfo,
  ) -> "Axes":
      # Set up the graph style.
      plt.style.use(
          "ggplot"
      )  # Use ggplot style sheet for similar outputs to plotly.
      _, ax = plt.subplots()
      ax.set_title("Hypervolume History Plot")
      ax.set_xlabel("Trial")
      ax.set_ylabel("Hypervolume")
      cmap = plt.get_cmap(
          "tab10"
      )  # Use tab10 colormap for similar outputs to plotly.
  
      ax.plot(
          info.trial_numbers,
          info.values,
          marker="o",
          color=cmap(0),
          alpha=0.5,
      )
      return ax
  
file_path: optuna/optuna/visualization/matplotlib/_hypervolume_history.py
imports: from __future__ import annotations
  from collections.abc import Sequence
  import numpy
  from optuna._experimental import experimental_func
  from optuna.study import Study
  from optuna.visualization._hypervolume_history import _get_hypervolume_history_info
  from optuna.visualization._hypervolume_history import _HypervolumeHistoryInfo
  from optuna.visualization.matplotlib._matplotlib_imports import _imports
label_desc: Use image node_id 2 for calling a global function with example usage: _get_hypervolume_history_plot(info) and returns: ax