Created
January 10, 2018 18:59
-
-
Save dipanjanS/5ce391031b6e0fd41e5bce2401890af6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Scatter Plot with Hue for visualizing data in 3-D | |
cols = ['density', 'residual sugar', 'total sulfur dioxide', 'fixed acidity', 'wine_type'] | |
pp = sns.pairplot(wines[cols], hue='wine_type', size=1.8, aspect=1.8, | |
palette={"red": "#FF9999", "white": "#FFE888"}, | |
plot_kws=dict(edgecolor="black", linewidth=0.5)) | |
fig = pp.fig | |
fig.subplots_adjust(top=0.93, wspace=0.3) | |
t = fig.suptitle('Wine Attributes Pairwise Plots', fontsize=14) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment