The official matplotlib documentation has a guide on customizing violin plots that may be useful to you: https://matplotlib.org/stable/gallery/statistics/customized_violin.html