dfd = DF_Dashboard(name='')
dashboard_title = '# Player Actions - 2003/04 PL'
dashboard_desc = 'Select a player to see their shot map, key passes, and pressure events for the 2003/04 Premier League season. Shot Map: All shots taken, with the size of the circle relative to the StatsBomb xG value. Key Pass Map: All passes made that resulted in a shot. Pressure Events: Shows all of the start locations that the player pressed an opponent from. Use the "Pressing Breakdown" dropdown to select the aggregation method. NOTE: 32 of 38 matches available'
dashboard = pn.Column(pn.Row(pn.Column(dashboard_title,align='center',sizing_mode='stretch_width'),pn.Spacer(width=100),pn.Spacer(width=130),pn.pane.PNG("stats-bomb-logo.png",align='center',width=200,height_policy='fit'),height_policy='min'),
pn.Row(pn.Column(dfd.param,align='start'),pn.Column(dashboard_desc,align='end',sizing_mode='stretch_both')),
pn.Row(pn.Column(pn.Row(dfd.shot_map,background='#22312b'),pn.Row(dfd.pass_map,background='#22312b')),pn.Column(dfd.pressure_map),background='#22312b'))
dashboard.embed()