Horje
Box Plot, Python Code Example
Box Plot, Python
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline

sns.boxplot(x="day", y="total_bill", data=tips,palette='rainbow') # box plot

sns.boxplot(x="day", y="total_bill", data=tips,palette='rainbow', orient='h') \
# box plot in horizontal mode

sns.boxplot(x="day", y="total_bill", hue="smoker",data=tips, palette="coolwarm") \
# box plot with simultabeous boxes for smoker categories

plt.show()




Python

Related
Berlin Code Example Berlin Code Example
how to discover which index labels are in other Code Example how to discover which index labels are in other Code Example
names of all methods in class introspect pythonm Code Example names of all methods in class introspect pythonm Code Example
udp client server chat program in python Code Example udp client server chat program in python Code Example
numpy argsort Code Example numpy argsort Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8