code: def token_barplot(tokens, values):
      fig, ax = plt.subplots(figsize=(len(values) / 2, 1))
      # fig = plt.figure(figsize=(len(values) / 2, 6))
      fig.set_facecolor("w")
      cm = get_cmap("viridis_r")
      colors = [cm(v / 0.5) for v in values]
      x = np.arange(len(values))
      bars = ax.bar(x, values, color=colors)
      # ax = sns.barplot(x=np.arange(len(values)), y=values, hue=values, palette='viridis')  # self.tokens[:len(importance)]
      ax.set_xticks(x)
      ax.set_xticklabels(tokens[: len(values)])
      ax.set_title(
          "Feature importance when the model was generating the token: {}".format(
              tokens[len(values)]
          )
      )  # repr(
      plt.xticks(rotation=-90)
  
file_path: ecco/src/ecco/lm_plots.py
imports: import seaborn
  import matplotlib.pyplot
  import numpy
  from matplotlib.patches import Rectangle
  from matplotlib.cm import get_cmap
  import copy
  import warnings
  from matplotlib.colors import ListedColormap
  import matplotlib
  from matplotlib.ticker import FuncFormatter
  from typing import Optional, List, Dict
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: token_barplot(tokens, values) without return types