I have been trying to find a way of adding an error ellipse to a scatter plot of data. I found some code within the matplotlib documentation (https://matplotlib.org/devdocs/