enoreyes commited on
Commit
3cfa349
1 Parent(s): 0eb04fd

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -0
utils.py CHANGED
@@ -51,6 +51,9 @@ color_map = {"joy": "green","anger": "red","surprise": "yellow","sadness": "blue
51
 
52
  def create_fig(x_min, x_max, to_plot, plot_sentences):
53
  x, y = list(zip(*to_plot))
 
 
 
54
 
55
  plot_df = pd.DataFrame(
56
  data={
 
51
 
52
  def create_fig(x_min, x_max, to_plot, plot_sentences):
53
  x, y = list(zip(*to_plot))
54
+
55
+ x_min -= 5
56
+ x_max += 5
57
 
58
  plot_df = pd.DataFrame(
59
  data={