zooming and panning with blit

Hi all,

    I am just started to use matplotlib and have a question about
using blit method to animate plots. I wrote something like this to
show the initial plot (other part of the code not shown):

           l1, = p1.plot(lineout, animated=True)
           background = canvas.copy_from_bbox(p1.bbox)

    This works and showes the first plot, however, zooming and panning
using the toolbar will make plot disappear (only empty background
left). So I wonder if there is a way to make zooming and panning work
with the blit method.

Thank you!