Avsnitt 3. Kapitel 10
single
Group by Continuous Variable
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 10
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal