Penguni commited on
Commit
c46b8ca
·
verified ·
1 Parent(s): eeb4dbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", points="all", title=title)
157
- fig.update_xaxes(title=None) # Remove x-axis label
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