1
0
mirror of https://github.com/gsi-upm/sitc synced 2026-03-02 01:38:17 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Carlos A. Iglesias
ecd53ceee5 Update 2_3_1_Advanced_Visualisation.ipynb
Updated violinplot
2026-02-25 16:27:04 +01:00
Carlos A. Iglesias
99f8032d05 Update 2_3_1_Advanced_Visualisation.ipynb
Updated stripplot to auto instead of gray
2026-02-25 16:21:44 +01:00

View File

@@ -330,7 +330,7 @@
"# Saving the resulting axes as ax each time causes the resulting plot to be shown\n",
"# on top of the previous axes\n",
"ax = sns.boxplot(x=\"species\", y=\"petal length (cm)\", data=iris_df)\n",
"ax = sns.stripplot(x=\"species\", y=\"petal length (cm)\", data=iris_df, jitter=True, edgecolor=\"gray\")"
"ax = sns.stripplot(x=\"species\", y=\"petal length (cm)\", data=iris_df, jitter=True, edgecolor=\"auto\")"
]
},
{
@@ -348,7 +348,7 @@
"source": [
"# A violin plot combines the benefits of the previous two plots and simplifies them\n",
"# Denser regions of the data are fatter, and sparser thinner in a violin plot\n",
"sns.violinplot(x=\"species\", y=\"petal length (cm)\", data=iris_df, size=6)"
"sns.violinplot(x=\"species\", y=\"petal length (cm)\", data=iris_df)"
]
},
{