Turn the script into a running script with a `__main__` function and a plotting function that sends the plot to a Matplotlib.Axes object.