02 Example of direction in scatterplots#

%%html
<iframe width="700" height="400" src="https://www.youtube.com/embed/Jpbm5YgciqI/" frameborder="0" allowfullscreen></iframe>
import numpy as np
import pandas as pd
from pandas import Series, DataFrame
import matplotlib.pyplot as plt
import seaborn as sns
from scipy import stats

khanacademy

Example of direction in scatterplots fig 1

plt.scatter([1, 1.25, 1.50, 1.75, 1.90, 2, 2.50, 2.50, 2.80, 2.90],
            [60, 50, 60, 65, 60, 70, 60, 79, 75, 85])
plt.xlim([0, 5])
plt.ylim([0, 90])
(0.0, 90.0)
../_images/02 Example of direction in scatterplots_5_1.png
# find a way to plot it