Professional Documents
Culture Documents
04 - Introduction To Plotting 6
04 - Introduction To Plotting 6
Hexbins
Group points on a scatter plit into larger points.
In the same way that a histogram can bin a variable to create a bar
hexbin can bin variables to create hexagons
2D Density Plots
similar to sns.kdeplot
Create a density plot across a bivariate (2 variables)
Can show just the bivariate
or show the invividual univariates
ax1.set_xlabel("Total Bill")
ax1.set_ylabel('Tip')
plt.show()
Bar Plots
Default is to calculate the mean
ax1.set_xlabel('Time of day')
plt.show()
Box Plots
Use to show multiple statistics