code: def plot_results(
      results,
      plot_order,
      method_legend_colour_marker_dict,
      x_label,
      y_label,
      x_bounds=None,
      y_bounds=None,
      to_plot_legend=True,
      true_maxval=None,
      outlier_frac=0.0,
      plot_title=None,
      options=None,
  ):
      # pylint: disable=too-many-arguments
      """Plots the results using Matplotlib."""
      if options is None:
          options = get_plot_options()
      if plot_title == None:
          plot_title = options.title
      if x_bounds is None:
          x_bounds = []
      # Get order of legends, colours, etc.
      (
          plot_legends,
          plot_colours,
          plot_markers,
          plot_linestyles,
      ) = generate_legend_marker_colour_orders(
          plot_order, method_legend_colour_marker_dict
      )
      return gen_curves(
          plot_order,
          results,
          x_label,
          y_label,
          plot_legends,
          plot_colours,
          plot_markers,
          plot_linestyles,
          options,
          x_bounds=x_bounds,
          y_bounds=y_bounds,
          outlier_frac=outlier_frac,
          log_y=True,
          plot_title=plot_title,
          study_name=str(np.asscalar(results["study_name"])),
          num_workers=str(np.asscalar(results["num_workers"])),
          time_distro_str=str(np.asscalar(results["time_distro_str"])),
          plot_type=options.type,
          to_plot_legend=to_plot_legend,
          true_maxval=true_maxval,
      )
  
file_path: dragonfly/dragonfly/utils/plot_utils.py
imports: from __future__ import division
  import pickle
  import argparse
  import matplotlib.pyplot
  import matplotlib
  from scipy.io import loadmat
  import numpy
label_desc: Use image node_id 11 for calling a global function with example usage: plot_results(results, plot_order, method_legend_colour_marker_dict, x_label, y_label, x_bounds, y_bounds, to_plot_legend, true_maxval, outlier_frac, plot_title, options) and returns: gen_curves