Skip to content

Commit 62a23d9

Browse files
author
Your Name
committed
m
1 parent c6d72b8 commit 62a23d9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

iris_visualization.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import seaborn as sns
2+
import matplotlib.pyplot as plt
3+
4+
# load the iris dataset
5+
iris = sns.load_dataset("iris")
6+
7+
# visualize the relationship between the 4 features for each of three species of Iris
8+
sns.pairplot(iris, hue='species', height=1.5)
9+
plt.show()

0 commit comments

Comments
 (0)