Svd, Data Science, Machine Learning, Data Visualization, Fluid Dynamics.
'font.family' : 'Times New Roman', "text.usetex": True}) ### Toy dataset x = 3 # True slope a = np.arange(-2,2,0.25) a = a.reshape(-1, 1) b = x*a + np.random.randn(*a.shape) # Add noise fig, ax = plt.subplots() ax.scatter(a, b, color = 'k', label = 'Data') ax.plot(a, a*x, color = 'r', label = 'True