That line is only for jupyter notebooks, if you are using another editor, you'll use: plt.show() at the end of all your plotting commands to have the figure pop up in another window. There are two ...
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 ...