Spaces:
Runtime error
Runtime error
Commit
·
ebc12f5
1
Parent(s):
7c987c3
v3 17
Browse files- statistiques.py +1 -1
statistiques.py
CHANGED
|
@@ -17,7 +17,7 @@ def display_companies_by_sector(df):
|
|
| 17 |
|
| 18 |
def display_company_sizes(df):
|
| 19 |
fig = px.histogram(df, x='tranche_effectif_entreprise',
|
| 20 |
-
labels={'tranche_effectif_entreprise':
|
| 21 |
fig.update_traces(marker_color='green')
|
| 22 |
fig.update_layout(yaxis_title="Nombre")
|
| 23 |
st.plotly_chart(fig)
|
|
|
|
| 17 |
|
| 18 |
def display_company_sizes(df):
|
| 19 |
fig = px.histogram(df, x='tranche_effectif_entreprise',
|
| 20 |
+
labels={'tranche_effectif_entreprise':"Taille de l'entreprise", 'count':'Nombre'}, template='plotly_white')
|
| 21 |
fig.update_traces(marker_color='green')
|
| 22 |
fig.update_layout(yaxis_title="Nombre")
|
| 23 |
st.plotly_chart(fig)
|