y_full=stacked_player_turnover1, height=turnover_prob1, height_full=turnover_prob1, height_zeros=zeros, y_zeros=s_turnover_prob1, ) ) ##################################### ##################################### # Use rect glyphs for stacked bars p1.rect( x='x', y='y', width=0.8, height='height', source=player_pass0, color=colour_dict['Pass'], alpha=0.8, name='Pass', legend='pass' ) p1.rect( x='x', y='y', width=0.8, height='height', source=player_shoot0, color=colour_dict['Shoot'], alpha=0.8, name='Shoot', legend='shoot' ) p1.rect( x='x', y='y', width=0.8, height='height', source=player_turnover0,