Data Science, Artificial Intelligence, Open Data, Open Source, Data Vizualisation.
subplots to create violin plots pltindex = 0 for col in df.columns: pltindex += 1 plt.subplot(plotRows, plotCols, pltindex) sns.violinplot( data = df2 # use cluster labels as x grouper , x = 'cluster' # use current feature as y values , y = col # use cluster labels and custom palette to unify color