Create a Complete Bar Chart
Tarea
Swipe to start coding
-
Assign the second call of the
.barh()function to thebar2variable. -
Customize the plot:
- set x label to
'Rainfall (mm)'; - y label to
'Month'; - title to
'Average rainfall level in Indian cities'; - limit the values on the x-axis to diapason
(0, 380).
- set x label to
-
Add labels to bars:
- set
padding = -5at the first call; - pass
bar2as the first parameter at the second call.
- set
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 10
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 2.94
Create a Complete Bar Chart
Desliza para mostrar el menú
Tarea
Swipe to start coding
-
Assign the second call of the
.barh()function to thebar2variable. -
Customize the plot:
- set x label to
'Rainfall (mm)'; - y label to
'Month'; - title to
'Average rainfall level in Indian cities'; - limit the values on the x-axis to diapason
(0, 380).
- set x label to
-
Add labels to bars:
- set
padding = -5at the first call; - pass
bar2as the first parameter at the second call.
- set
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 10
single