标签: python facet-grid jitter
kws = dict(s=50, linewidth=.5, edgecolor="w") g = sns.FacetGrid(df_train_3, hue="Target", palette="Set1") g = (g.map(plt.scatter, "Premium Range", "Sales Channel", **kws).add_legend()) g.set_xticklabels(rotation=40)
enter image description here