Thank you for the course, it's really helpful!
There's a minor typo in the code for plotting the transformation of A and then the additional transformation of π΄β1
A = np.array([[1,2], [2,1]])
A_inv = np.linalg.inv(M)
plot_linear_transformations(A, A_inv)
where M is not defined and it should be:
A = np.array([[1,2], [2,1]])
A_inv = np.linalg.inv(A)
plot_linear_transformations(A, A_inv)