Sección 3. Capítulo 10
single
Group by Continuous Variable
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. 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