Typo in Data Visualisation Chapter

Open Beginner friendly
#67 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
jupyter-notebook, python

Research direction

Open the Data Visualise chapter at the linked exercises section and locate item 2. Check the two Python examples against the issue, update the species expressions as described, and verify that both exercise snippets render correctly and use the intended quoted form.

Written by the indexing model from the issue text.

Description

For item 2 In this block of exercises: https://aeturrell.github.io/python4DS/data-visualise.html#exercises-1

(ggplot(penguins, aes(x = species)) +
  geom_bar(color = "red"))

(ggplot(penguins, aes(x = species)) +
  geom_bar(fill = "red"))

species should be wrapped in quotes:

(ggplot(penguins, aes(x = "species")) +
  geom_bar(color = "red"))

(ggplot(penguins, aes(x = "species")) +
  geom_bar(fill = "red"))
Dominant language
Jupyter Notebook
Stars
168
Forks
36
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aeturrell/python4DS

All issues in aeturrell/python4DS

Similar issues

More Data Visualization issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.