Spaces:
Sleeping
Sleeping
AndrewD123
commited on
Commit
•
f865186
1
Parent(s):
be1904d
Upload app.py
Browse files
app.py
CHANGED
@@ -168,6 +168,7 @@ def get_stat(images_path):
|
|
168 |
y=data2['id'],
|
169 |
text=data2['id'],
|
170 |
textposition='auto',
|
|
|
171 |
marker_color='lightsalmon'), row=2, col=2)
|
172 |
fig.update_xaxes(title_text = "Пол", row=2, col=2)
|
173 |
fig.update_yaxes(title_text = "Количество", row=2, col=2)
|
@@ -176,6 +177,7 @@ def get_stat(images_path):
|
|
176 |
y=data4['id'],
|
177 |
text=data4['id'],
|
178 |
textposition='auto',
|
|
|
179 |
marker_color='lightsalmon'), row=3, col=1)
|
180 |
fig.update_xaxes(title_text = "Эмоции", row=3, col=1)
|
181 |
fig.update_yaxes(title_text = "Количество", row=3, col=1)
|
@@ -184,6 +186,7 @@ def get_stat(images_path):
|
|
184 |
y=data5['id'],
|
185 |
text=data5['id'],
|
186 |
textposition='auto',
|
|
|
187 |
marker_color='lightsalmon'), row=3, col=2)
|
188 |
|
189 |
fig.update_xaxes(title_text = "Расы", row=3, col=2)
|
|
|
168 |
y=data2['id'],
|
169 |
text=data2['id'],
|
170 |
textposition='auto',
|
171 |
+
name='Пол',
|
172 |
marker_color='lightsalmon'), row=2, col=2)
|
173 |
fig.update_xaxes(title_text = "Пол", row=2, col=2)
|
174 |
fig.update_yaxes(title_text = "Количество", row=2, col=2)
|
|
|
177 |
y=data4['id'],
|
178 |
text=data4['id'],
|
179 |
textposition='auto',
|
180 |
+
name='Эмоция',
|
181 |
marker_color='lightsalmon'), row=3, col=1)
|
182 |
fig.update_xaxes(title_text = "Эмоции", row=3, col=1)
|
183 |
fig.update_yaxes(title_text = "Количество", row=3, col=1)
|
|
|
186 |
y=data5['id'],
|
187 |
text=data5['id'],
|
188 |
textposition='auto',
|
189 |
+
name='Раса',
|
190 |
marker_color='lightsalmon'), row=3, col=2)
|
191 |
|
192 |
fig.update_xaxes(title_text = "Расы", row=3, col=2)
|