Professional Documents
Culture Documents
04 - Introduction To Plotting 5
04 - Introduction To Plotting 5
show()
Rug Plots
1 dimensional representation of a variables distribution
usually used with other plots to enhance visualization
ax1.set_xlabel('Total Bill')
plt.show()
Bar Plots
In [ ]: count_plot, ax1 = plt.subplots()
ax1.set_title('Count of Days')
ax1.set_xlabel('Day of Week')
ax1.set_xlabel('Frequency')
plt.show()
Scatterplot
No scatter function in seaborn , use regplot instead.
plots a scatterpoot and fits a regression line
use fit_reg=False to toggle regression line on/off
ax1.set_xlabel('Total Bill')
ax1.set_xlabel('Tip')
plt.show()
plt.show()
Or use jointplot