Fixed typo that was causing errors when xs list in plot() command included None.