Sezione 3. Capitolo 10
single
Group by Continuous Variable
Scorri per mostrare il menu
Compito
Swipe to start coding
This time, we are goint to paint the points for the same scatter plot in respect to the 'hdi' column values.
-
Initialize a scatter plot with the next parameters:
- Set points color (
c) to the'hdi'column values of thedata; - Set colormap (
cmap) to'plasma'.
Save the call of the
.scatter()function to thecaxvariable. - Set points color (
-
Apply
.colorbar()function toFigureobject assigningcaxas an argument.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 3. 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