From: Sandro T. <mo...@de...> - 2009-06-03 09:44:43
|
Hi Alberto, On Wed, Jun 3, 2009 at 10:49, Alberto Soto <alb...@lm...> wrote: > Good afternoon, > > I am working on a GUI that utilizes the FigureCanvasQTAgg. The GUI consists > of a Qt main window were the central widget includes a Figure. The problem > arises when this central widget interacts with re-size events of my dock > widgets. The Plot is not correctly re-drawn, it ‘leaks’ into the dock > widgets. > > I think a picture would better describe this problem: > > Here we see 2 scripts running, the 1st one’s dock widgets have been re-sized > by the user and the plot has ‘leaked’ into the right side dialog. The second > picture shows how the dialog normally looks. > > > > I am also attaching a simple script with the GUI that has the problem. > > If I move or do anything to re-trigger a paint event the plot is re-drawn > correctly. I see no problem here. I'm on a debian sid OS, with $ python -c "import matplotlib as mpl ; print mpl.__version__" 0.98.5.3 and $ apt-show-versions python-qt4 python-qt4/testing uptodate 4.4.4-6 what do you have installed? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |