code: def plot_focus(
      results: Dict[str, List[float]],
      *args,
      **kwargs,
  ) -> None:
      """
      Plot the Focus experiment as done in the paper:
  
      References:
          1) Arias-Duart, Anna, et al. 'Focus! Rating XAI Methods
          and Finding Biases. arXiv:2109.15035 (2022)"
  
      Parameters
      ----------
      results: dict
          A dictionary with the Focus scores obtained using different feature attribution methods.
      args: optional
          Arguments.
      kwargs: optional
          Keyword arguments.
  
      Returns
      -------
      None
      """
  
      fig = plt.figure(figsize=(8, 6))
      for method, scores in results.items():
          plt.boxplot(scores)
          plt.xlabel(method)
  
      plt.ylabel("Focus score")
      plt.tick_params(
          axis="x",
          which="both",
          bottom=False,
          top=False,
          labelbottom=False,
      )
      plt.show()
  
file_path: Quantus/quantus/helpers/plotting.py
imports: from typing import List, Union, Dict, Any
  import matplotlib.pyplot
  import numpy
  from quantus.helpers import warn
label_desc: Use image node_id 6 for calling a global function with example usage: plot_focus(results) without return types