Matplotlib - Animations
Which of the following is the correct way to save the background region for blitting in matplotlib?
copy_from_bbox method is called on the figure canvas (fig.canvas) with the axes bounding box (ax.bbox).background = fig.canvas.copy_from_bbox(ax.bbox) is correct. Options B, C call it on ax (which lacks the method), D calls it on fig (missing .canvas), B also uses wrong bbox.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions