Hello,
I am trying to plot a line from 2 arrays of data (dates on the x axis) in a qt 
widget, so that I can update the line quickly when the user changes the data 
selection through a qcombobox and so that the widget containing the plot can be 
resized (matplotlib and qt-pyside).
 
I managed to obtain a line that I can update using plot_date and clearing the 
axis before issuing an ax.draw, but then the figure only updates after is has 
been resized, not on the draw() call (I think it may have to do with qt not 
redrawing the frame rather than matplotlib not updating the plot).
 
I then tried the animation examples from the website but the plot I obtained 
misbehaves when resized (looks like I get two plots: the presiously sized plot 
and the newly sized plot on top of each other).
 
I have been looking at the examples on the website but haven't found an example 
of an animated plot that can be resized by the user in a gui environment.
Would you have such an example or maybe you can point me to an example that I 
missed on the website?
 
Thanks
Morgan
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to