CommencerCommencer gratuitement

Jointplots and regression

Since the previous plot does not show a relationship between humidity and rental amounts, we can look at another variable that we reviewed earlier. Specifically, the relationship between temp and total_rentals.

Cet exercice fait partie du cours

Intermediate Data Visualization with Seaborn

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Plot temp vs. total_rentals as a regression plot
sns.____(x="temp",
         y="____",
         kind='____',
         data=df,
         order=____,
         xlim=(0, 1))

plt.show()
plt.clf()
Modifier et exécuter le code