How to pass RGBA color into Seaborn PairGrid
问题 I have defined a PairGrid function, which works fine grid = sns.PairGrid(data= df, vars = ['sugarpercent', 'pricepercent', 'winpercent'], size = 3) # Map the plots to the locations grid = grid.map_upper(plt.scatter, color = 'darkred') grid = grid.map_upper(corr) grid = grid.map_upper(sns.regplot, line_kws={'color': 'darkred'}, lowess=True) However, I want to use RGBA (12, 50, 196, 0.6) instead of darkred for both scatter and regplot function. I tried to replace the tuple 'color': (12, 50, 196