I used seaborn to plot two poinplot. when I use plt.legend, the legend 's color is the same and it is not distinguished. The problem is the color of so2 and no2 both are blue in the legend. I think it just pick the color of second line of query.
ax=plt.subplots(figsize=(15,5))
sns.pointplot(x='Year', y='no2', data=AP_trend)
sns.pointplot(x='Year', y='so2', data=AP_trend, color = 'r')
plt.legend(labels=['no2', 'so2'])