2017-07-28 40 views

回答

5

這是我能想到的最接近海盜狀態的圖片。使用seaborn boxplotstripplot

sns.set_style("whitegrid") 
tips = sns.load_dataset("tips") 
ax = sns.boxplot(x="day", y="total_bill", data=tips) 
ax = sns.stripplot(x="day", y="total_bill", data=tips, color=".25") 

生成此圖。

enter image description here