Multiline formatting syntax in Data Visualization exercises
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- python
- Domain
- data-visualization, documentation
Research direction
Start at the Data Visualization exercises block linked in the issue and inspect the two multiline ggplot examples. Verify the syntax in Python, update the examples to use the shown valid formatting, and confirm the exercises no longer produce syntax errors.
Written by the indexing model from the issue text.
Description
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")
)
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aeturrell/python4DS
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Add custom url Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
All issues in aeturrell/python4DS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#245 · 1 assignee ·
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gordonwatts/test-wsl2-llm#151 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100