I need to work around a bug in someone else\'s code. The following works when animating lines on the screen but not when saving the animation to a file:
x_values