Create a Complete Bar Chart
Tarefa
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
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 10
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Resumir este capítulo
Explicar o código em file
Explicar por que file não resolve a tarefa
Awesome!
Completion rate improved to 2.94
Create a Complete Bar Chart
Deslize para mostrar o menu
Tarefa
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
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 10
single