Add Legend
Now let's modify the plot from the previous task with the legend!
Task
Swipe to start coding
- Add
labelparameters to both plots. Use'United States'aslabelfor theusadata and'Canada'for thecandata. - Add a legend to the plot.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 7
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 2.94
Add Legend
Swipe to show menu
Now let's modify the plot from the previous task with the legend!
Task
Swipe to start coding
- Add
labelparameters to both plots. Use'United States'aslabelfor theusadata and'Canada'for thecandata. - Add a legend to the plot.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 7
single