From: r-w <rzz...@gm...> - 2011-07-18 01:47:36
|
I have been able to embed a matplotlib simple line graph into a wxpython application and then dynamically update the underlying line data. However, I now want to do something similar with an errorbar plot. I see that the errorbar() call returns (/plotline/, /caplines/, /barlinecols/) where 'plotline' describes the line part of the plot and the 'caplines' and 'barlinecols' describe the error bars and use the Path object. I just can't see how to change the values underlying the errorbars. I need to change the x and y values as well as the yerr values. Anybody have any idea how to do this? Or should I look at other approaches, such a simple line graph and a patch that draws error bars 'by hand'? Thanks, Ross |