Spaces:
Build error
Build error
Update utils.py
Browse files
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={
|