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.

···

Jeffrey Thomas Peery

SeaMetrics, Inc.

Mechanical Engineer

JeffPeery@…674…

253.872.0285 (fax)

253.872.0284 (phone)