I used this question to make an animated scatterplot like this:
import matplotlib.pyplot as plt import pandas as pd from matplotlib.collections import PathCollect