Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created January 10, 2018 19:39
Show Gist options
  • Save dipanjanS/8e84f7d9489494ef8d1176a4a4abdd09 to your computer and use it in GitHub Desktop.
Save dipanjanS/8e84f7d9489494ef8d1176a4a4abdd09 to your computer and use it in GitHub Desktop.
# Visualizing 3-D mix data using kernel density plots
# leveraging the concepts of hue for categorical dimension
ax = sns.kdeplot(white_wine['sulphates'], white_wine['alcohol'],
cmap="YlOrBr", shade=True, shade_lowest=False)
ax = sns.kdeplot(red_wine['sulphates'], red_wine['alcohol'],
cmap="Reds", shade=True, shade_lowest=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment