Matplotlib - Animations
Why does the following blitting code fail to update the plot visually?
import matplotlib.pyplot as plt fig, ax = plt.subplots() background = fig.canvas.copy_from_bbox(ax.bbox) line, = ax.plot([0, 1], [0, 1]) fig.canvas.restore_region(background) fig.canvas.blit(ax.bbox)
