Improving Your Data Visualizations in Python
Nick Strayer
Instructor


sns.regplot('NO2', 'CO', ci=False, data=pollution,# Lower opacity of points scatter_kws={'alpha':0.2, 'color':'grey'} )




g = sns.scatterplot("SO2","CO", data=long_beach_avgs) # Iterate over the rows of our data for _, row in long_beach_avgs.iterrows(): # Unpack columns from row month, SO2, CO = row# Draw annotation in correct place g.annotate(month, (SO2,CO))plt.title('Long Beach avg SO2 by CO')

Improving Your Data Visualizations in Python