python - create pirate plot in seaborn (combination of box and point plot) -
there exists nice plot in r called pirate plot. combination of box plot , point plot. how can plot similar in python seaborn? can find example here: http://rpubs.com/yarrr/pirateplot
this closest can think of being pirateplot. using both seaborn boxplot
, stripplot
.
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")
resulting in graph.
Comments
Post a Comment