nesticot commited on
Commit
a774a26
·
verified ·
1 Parent(s): 406b4b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -220,7 +220,7 @@ ui.card(
220
  },
221
  # Plot section with relative positioning for brush
222
  ui.div(
223
- # {"style": "position: relative;"},
224
  ui.output_ui("plot_ui")
225
  ),
226
  # Table section
@@ -545,6 +545,13 @@ def server(input, output, session):
545
  plot_picker='short_form_movement',#plot_picker,
546
  sport_id=sport_id)
547
 
 
 
 
 
 
 
 
548
 
549
  # #plt.rcParams["figure.figsize"] = [10,10]
550
  # fig = plt.figure(figsize=(26,26))
 
220
  },
221
  # Plot section with relative positioning for brush
222
  ui.div(
223
+ {"style": "position: relative;"},
224
  ui.output_ui("plot_ui")
225
  ),
226
  # Table section
 
545
  plot_picker='short_form_movement',#plot_picker,
546
  sport_id=sport_id)
547
 
548
+ # Adjust the plot layout after creation
549
+ plt.subplots_adjust(
550
+ top=0.95, # Reduce top margin
551
+ bottom=0.1, # Increase bottom margin
552
+ left=0.1, # Increase left margin
553
+ right=0.95 # Reduce right margin
554
+ )
555
 
556
  # #plt.rcParams["figure.figsize"] = [10,10]
557
  # fig = plt.figure(figsize=(26,26))