code: def run_experiment_with_saved_histories(save_dir):
      mutation_histories = load_histories(save_dir, "mutation")
      visualize_histories(mutation_histories, mutation_labels)
  
      crossover_histories = load_histories(save_dir, "crossover")
      visualize_histories(crossover_histories, crossover_labels)
  
imports: import os
  from datetime import timedelta
  from typing import Sequence, Optional
  import numpy
  from matplotlib import pyplot
  from sklearn.metrics import roc_auc_score
  from fedot.core.composer.composer_builder import ComposerBuilder
  from fedot.core.data.data import InputData
  from golem.core.optimisers.genetic.gp_params import GPAlgorithmParameters
  from golem.core.optimisers.genetic.operators.crossover import CrossoverTypesEnum
  from golem.core.optimisers.genetic.operators.inheritance import GeneticSchemeTypesEnum
  from golem.core.optimisers.genetic.operators.mutation import MutationTypesEnum
  from golem.core.optimisers.opt_history_objects.opt_history import OptHistory
  from fedot.core.pipelines.pipeline_composer_requirements import PipelineComposerRequirements
  from fedot.core.repository.operation_types_repository import get_operations_for_task
  from fedot.core.repository.metrics_repository import ClassificationMetricsEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 5 for calling a global function with example usage: run_experiment_with_saved_histories(save_dir) without return types