When you're working in three dimensions, the only way to prove that three points are in a line (collinear) involves showing that a common direction exists. For this, you need to use vectors. Here's ...
We use matplotlib for plotting in python. To have some more control over the coordinate axis we'll use .subplots. The first few lines of code just change the plot from a bounding box to a set of ...