freud-sensei commited on
Commit
9ef57b3
·
verified ·
1 Parent(s): ff99c78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -24,6 +24,7 @@ fig = px.bar(df, x="경기수", text="경기수", title=f"{team}의 방송사별
24
  fig.update_xaxes(range=[0, 55])
25
  fig.update_traces(textposition='outside')
26
  fig.update_layout(yaxis={'categoryorder': 'total ascending'}, yaxis_title="방송사")
 
27
  st.plotly_chart(fig, use_container_width=True)
28
 
29
  bc_names = {"SPO": "SPOTV 및 SPOTV-2", "MS-T": "MBC Sports+", "KN-T": "KBS N Sports", "SS-T": "SBS Sports",
@@ -53,4 +54,5 @@ fig = px.bar(sr, y="팀", text="팀", title=f"{bc}의 팀별 중계 횟수 (총
53
  fig.update_yaxes(range=[0, max_y])
54
  fig.update_traces(textposition='outside')
55
  fig.update_layout(xaxis_title="팀", yaxis_title="경기수")
 
56
  st.plotly_chart(fig, use_container_width=True)
 
24
  fig.update_xaxes(range=[0, 55])
25
  fig.update_traces(textposition='outside')
26
  fig.update_layout(yaxis={'categoryorder': 'total ascending'}, yaxis_title="방송사")
27
+ fig.update_layout({'dragmode': False,'editable': False})
28
  st.plotly_chart(fig, use_container_width=True)
29
 
30
  bc_names = {"SPO": "SPOTV 및 SPOTV-2", "MS-T": "MBC Sports+", "KN-T": "KBS N Sports", "SS-T": "SBS Sports",
 
54
  fig.update_yaxes(range=[0, max_y])
55
  fig.update_traces(textposition='outside')
56
  fig.update_layout(xaxis_title="팀", yaxis_title="경기수")
57
+ fig.update_layout({'dragmode': False,'editable': False})
58
  st.plotly_chart(fig, use_container_width=True)