6 lines
303 B
Python
6 lines
303 B
Python
from matplotlib import pyplot as plt
|
|
import seaborn as sns
|
|
figsize = (12, 1.2 * len(df2['deviceSerialNumber'].unique()))
|
|
plt.figure(figsize=figsize)
|
|
sns.violinplot(df2, x='led1Sample', y='deviceSerialNumber', inner='stick', palette='Dark2')
|
|
sns.despine(top=True, right=True, bottom=True, left=True) |