In 2.1.1. Prerequisites, the instruction is to run pip install letsplot. It is actually pip install lets-plot.
In 2.7. Common Problems, a line is One common problem when creating letsplot graphics is to put the + in the wrong place: it has to come at the end of the line, not the start. But both ways work. For example, this works:
(
ggplot(penguins, aes(x="flipper_length_mm", y="body_mass_g"))
+ geom_point(aes(color="species", shape="species"))
+ facet_wrap(facets="island")
)
and this works too:
(
ggplot(penguins, aes(x="flipper_length_mm", y="body_mass_g")) +
geom_point(aes(color="species", shape="species")) +
facet_wrap(facets="island")
)
In
2.1.1. Prerequisites, the instruction is to runpip install letsplot. It is actuallypip install lets-plot.In
2.7. Common Problems, a line isOne common problem when creating letsplot graphics is to put the + in the wrong place: it has to come at the end of the line, not the start.But both ways work. For example, this works:and this works too: