def violinplot(non_zero, difference_mean, k, axes, no_cons):     
    """
    Generates violin plot of the transitions percentage points differece
    between the original transistions and the cluster transitions.
    """   
    axes.violinplot(non_zero, showmeans=True)
    axes.set_ylim([0,1.1])
    axes.set_title(str(k) + '_' + str(no_cons) + '_' + str(round(difference_mean,3)), fontsize=14)
    axes.tick_params(axis='both', which='major', labelsize=14)
    return axes