code: def test_plot_pareto_front_unsupported_dimensions(
      include_dominated_trials: bool,
  ) -> None:
      # Unsupported: n_objectives == 1.
      with pytest.raises(ValueError):
          study = optuna.multi_objective.create_study(["minimize"])
          study.optimize(lambda t: [0], n_trials=1)
          plot_pareto_front(
              study, include_dominated_trials=include_dominated_trials
          )
  
      # Supported: n_objectives == 2.
      study = optuna.multi_objective.create_study(
          ["minimize", "minimize"]
      )
      study.optimize(lambda t: [0, 0], n_trials=1)
      plot_pareto_front(
          study, include_dominated_trials=include_dominated_trials
      )
  
      # Supported: n_objectives == 3.
      study = optuna.multi_objective.create_study(
          ["minimize", "minimize", "minimize"]
      )
      study.optimize(lambda t: [0, 0, 0], n_trials=1)
      plot_pareto_front(
          study, include_dominated_trials=include_dominated_trials
      )
  
      # Unsupported: n_objectives == 4.
      with pytest.raises(ValueError):
          study = optuna.multi_objective.create_study(
              ["minimize", "minimize", "minimize", "minimize"]
          )
          study.optimize(lambda t: [0, 0, 0, 0], n_trials=1)
          plot_pareto_front(
              study, include_dominated_trials=include_dominated_trials
          )
  
file_path: optuna/tests/multi_objective_tests/visualization_tests/test_pareto_front.py
imports: import itertools
  from typing import List
  from typing import Optional
  from typing import Tuple
  import numpy
  import pytest
  import optuna
  from optuna.multi_objective.visualization import plot_pareto_front
label_desc: Use image node_id 3 for calling a global function with example usage: test_plot_pareto_front_unsupported_dimensions(include_dominated_trials) without return types