Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -153,8 +153,8 @@ def create_country_map(df, title):
|
|
153 |
|
154 |
# Function to create rating distribution box chart
|
155 |
def create_rating_box_chart(df, title):
|
156 |
-
fig = px.box(df, x="rating",
|
157 |
-
fig.
|
158 |
return fig
|
159 |
|
160 |
# Streamlit app
|
|
|
153 |
|
154 |
# Function to create rating distribution box chart
|
155 |
def create_rating_box_chart(df, title):
|
156 |
+
fig = px.box(df, x="rating", title=title)
|
157 |
+
fig.update_traces(marker=dict(opacity=0.6)) # Show points by default
|
158 |
return fig
|
159 |
|
160 |
# Streamlit app
|