[PyQt] problem with figure in pyqt

2011-03-27 Thread nimi pillai
Hi, I want an application that displays a plot when a 'plot ' button is clicked. My code is given below. The figure window doesnot appear when i run the code. But if there is any error as i hav commented '#plt' the figure window appears. Can someone please tell me why this happens? from PyQt4

Re: [PyQt] problem with figure in pyqt

2011-03-27 Thread Hans-Peter Jansen
On Sunday 27 March 2011, 20:46:51 nimi pillai wrote: Hi, I want an application that displays a plot when a 'plot ' button is clicked. My code is given below. The figure window doesnot appear when i run the code. But if there is any error as i hav commented '#plt' the figure window appears.