Matplotlib - Animations
What will the following code output?
import matplotlib.pyplot as plt fig, ax = plt.subplots() background = fig.canvas.copy_from_bbox(ax.bbox) ax.plot([1, 2], [3, 4]) fig.canvas.restore_region(background) print(ax.lines)
