Redrawing problems with new limits in Qt4Agg for custom zoom/pan tool.


My Requirement is I have to zoom/pan with a buttons. The
frame work I am using is PyQt. The following logic I have used. When I test with terminal it works well. The same when I called with
button in an GUI, it shows strange behavior. I am using Ubuntu 10.4.
Since my graph/plot often switch from log to linear scale, I have
choosen algorithm this algorithm. Please find details in attachment.

Please help me to clear the problem.

DetailsOfZoomOrPan.pdf (40.1 KB)