Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created January 10, 2018 17:49
Show Gist options
  • Save dipanjanS/e2ec948169516dd79b411c8625a7be48 to your computer and use it in GitHub Desktop.
Save dipanjanS/e2ec948169516dd79b411c8625a7be48 to your computer and use it in GitHub Desktop.
# Scatter Plot
plt.scatter(wines['sulphates'], wines['alcohol'],
alpha=0.4, edgecolors='w')
plt.xlabel('Sulphates')
plt.ylabel('Alcohol')
plt.title('Wine Sulphates - Alcohol Content',y=1.05)
# Joint Plot
jp = sns.jointplot(x='sulphates', y='alcohol', data=wines,
kind='reg', space=0, size=5, ratio=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment