Contenido del Curso
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Add Legend
Now let's modify the plot from the previous task with the legend!
Swipe to show code editor
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.
¡Gracias por tus comentarios!
Add Legend
Now let's modify the plot from the previous task with the legend!
Swipe to show code editor
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.
¡Gracias por tus comentarios!
Add Legend
Now let's modify the plot from the previous task with the legend!
Swipe to show code editor
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.
¡Gracias por tus comentarios!
Now let's modify the plot from the previous task with the legend!
Swipe to show code editor
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.