I think you forget to set the layout on your central widget.

self.main_widget.setLayout(vbl) # in your case

-Dave

On 12/4/2011 9:57 AM, matplotlib-users-requ...@lists.sourceforge.net wrote:
> 2011/12/2 Daniel Hyams<dhy...@gmail.com>:
>> >  I don't have PyQt installed, so I couldn't test the code, but don't you 
>> > want
>> >  to be using "extend" and not "append", if you are returning a list from 
>> > your
>> >  two get_info() functions?
>> >
>> >  On Fri, Dec 2, 2011 at 8:13 AM, Fabien Lafont<lafont.fab...@gmail.com>
>> >  wrote:
>>> >>
>>> >>  Hello everyone, I'm trying to plot live data extracting from remote
>>> >>  devices (here it's simulated by get_info1 and 2 the result is always
>>> >>  0.8 or 0.9
>>> >>
>>> >>  I can't understand why it doesnt plot the graph at the end of the
>>> >>  while loop. Does somebody has an idea?

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to