ginipick commited on
Commit
02bf9be
·
verified ·
1 Parent(s): 523861b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -22,11 +22,11 @@ def create_trend_chart(space_id, daily_ranks_df):
22
  y='rank',
23
  title=f'Daily Rank Trend for {space_id}',
24
  labels={'date': 'Date', 'rank': 'Rank'},
25
- markers=True
 
26
  )
27
 
28
  fig.update_layout(
29
- height=500,
30
  xaxis_title="Date",
31
  yaxis_title="Rank",
32
  yaxis=dict(
@@ -196,8 +196,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
196
  with gr.Row(variant="panel"):
197
  trend_plot = gr.Plot(
198
  label="Daily Rank Trend",
199
- container=True,
200
- height=400
201
  )
202
 
203
  with gr.Row():
 
22
  y='rank',
23
  title=f'Daily Rank Trend for {space_id}',
24
  labels={'date': 'Date', 'rank': 'Rank'},
25
+ markers=True,
26
+ height=400 # 차트 높이 설정
27
  )
28
 
29
  fig.update_layout(
 
30
  xaxis_title="Date",
31
  yaxis_title="Rank",
32
  yaxis=dict(
 
196
  with gr.Row(variant="panel"):
197
  trend_plot = gr.Plot(
198
  label="Daily Rank Trend",
199
+ container=True
 
200
  )
201
 
202
  with gr.Row():