[问题] seaborn 画两条不一样的regression线

楼主: opu456 (....)   2017-12-14 23:54:45
大家好 如标题 我想要画出两条长不一样的regression线
sns.lmplot('A','B',hue = "name",truncate = True,
data = df,fit_reg=True,markers = ["x","o"],
palette=dict(Amy="black", John="black"),
line_kws={ "ls" : "-"})
像上面这样想要用lmplot 划出两条不一样的regression line
一条虚线一条实线 可是如果用line_kws={ "ls" : ["-","

Links booklink

Contact Us: admin [ a t ] ucptt.com