text_html_output_1.png
import pandas as pd

import plotly.graph_objects as go

train = pd.read_csv('../input/standup-targets/train.csv')

y0 = train.score.values
fig = go.Figure()
fig.add_trace(go.Box(y=y0, name='Train', marker_color='#1e90ff'))
fig.update_layout(title_text='Score stats (individual shot)')
fig.update_yaxes()
fig.update_xaxes(showticklabels=False)

colors = ['#1e90ff'] * 7
colors[0] = '#ff6347'
dict_ = dict(train.score.value_counts())
x = list(dict_.keys())
y = list(dict_.values())
fig = go.Figure(data=[go.Bar(x=x, y=y, marker_color=colors)])
fig.update_layout(title_text='Score distribution (individual shot)')