canvas size

Hello, I'm using WXAgg for some simple plotting. when I

    > change any of the settings in my figure and then call
    > canvas.draw() the figure that is redrawn is not the same
    > size as the old drawing until I resize my frame. So
    > initially what I see is a new figure overlaying the old
    > figure. However when I resize the frame the figure snaps to
    > the size it should be. How can I fix this so that the figure
    > draws correctly without having to resize my frame? Thanks.

example, example, example, please.

It is really not possible for us to help you without an example that
exposes the problem.