In this block of exercises: https://aeturrell.github.io/python4DS/data-visualise.html#exercises-2
The multiline formatting of this block:
ggplot(penguins, aes(x="island", fill="species")) +geom_bar(position="fill")
ggplot(penguins, aes(x="species", fill="island")) +geom_bar(position="fill")
results in syntax errors.
Recommend replacement with:
ggplot(penguins, aes(x="island", fill="species")) +geom_bar(position="fill")
or for consistency with above blocks:
(
ggplot(penguins, aes(x="species", fill="island"))
+geom_bar(position="fill")
)
In this block of exercises: https://aeturrell.github.io/python4DS/data-visualise.html#exercises-2
The multiline formatting of this block:
results in syntax errors.
Recommend replacement with:
or for consistency with above blocks: