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
.
This exercise is part of the course
Intermediate Data Visualization with Seaborn
Hands-on interactive exercise
Have a go at this exercise by completing this sample 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()