Create a Complete Bar Chart
Compito
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
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 10
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Riassuma questo capitolo
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.94
Create a Complete Bar Chart
Scorri per mostrare il menu
Compito
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
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 10
single