code: def plot(meta_data, save_path=None):
      save = False
      if save_path:
          save = True
  
      graph_data = get_data_points(meta_data)
      x = graph_data["x"]
      y_avg = graph_data["y_avg"]
      y_std = graph_data["y_std"]
      y_mode = graph_data["y_mode"]
      y_median = graph_data["y_median"]
      y_num_samples = graph_data["y_num_samples"]
  
      plt.figure()
      plt.plot(x, y_avg, "ro")
      plt.xlabel("character lengths", fontsize=30)
      plt.ylabel("avg seconds", fontsize=30)
      if save:
          name = "char_len_vs_avg_secs"
          plt.savefig(os.path.join(save_path, name))
  
      plt.figure()
      plt.plot(x, y_mode, "ro")
      plt.xlabel("character lengths", fontsize=30)
      plt.ylabel("mode seconds", fontsize=30)
      if save:
          name = "char_len_vs_mode_secs"
          plt.savefig(os.path.join(save_path, name))
  
      plt.figure()
      plt.plot(x, y_median, "ro")
      plt.xlabel("character lengths", fontsize=30)
      plt.ylabel("median seconds", fontsize=30)
      if save:
          name = "char_len_vs_med_secs"
          plt.savefig(os.path.join(save_path, name))
  
      plt.figure()
      plt.plot(x, y_std, "ro")
      plt.xlabel("character lengths", fontsize=30)
      plt.ylabel("standard deviation", fontsize=30)
      if save:
          name = "char_len_vs_std"
          plt.savefig(os.path.join(save_path, name))
  
      plt.figure()
      plt.plot(x, y_num_samples, "ro")
      plt.xlabel("character lengths", fontsize=30)
      plt.ylabel("number of samples", fontsize=30)
      if save:
          name = "char_len_vs_num_samples"
          plt.savefig(os.path.join(save_path, name))
  
file_path: TTS/notebooks/dataset_analysis/analyze.py
imports: import matplotlib.pyplot
  from statistics import stdev, mode, mean, median
  from statistics import StatisticsError
  import argparse
  import os
  import csv
  import seaborn
  import random
  from text.cmudict import CMUDict
label_desc: Use image node_id 6 for calling a global function with example usage: plot(meta_data, save_path) without return types