fig = figure()
ax = fig.add_subplot(111)
violin_plot(ax, data, pos, bp=1)
data_x = [0, 1, 2, 2, 3, 4]
data_y = [1.5, 1.0, 0.7, 2.5, 1, 1.5]
ax.plot(data_x, data_y, 'or')
fig.savefig('violins.gif')
Plotting single points on a graph