Hi, I'm using a slider widget from matplotlib and I've been trying to update just the slider bar using blit for faster animation because if I use draw() for the whole canvas it is too slow. I got the bar to animate faster using this method (though it doesn't look perfect), but I can't figure out how to draw the slider value that shows up next to the slider. Any help would be greatly appreciated. My code for the slider is something like this:
import pylab as p from matplotlib.widgets import Slider axsigma = p.axes([0.25, 0.10, 0.65, 0.03], axisbg=axcolor) slider1 = Slider (axsigma, 'Sigma',0.20, 18, valinit=s0,dragging=True, fc='blue') canvas1=axsigma.figure.canvas def update (val): canvas1.blit(axsigma.bbox) slider1.on_changed(update) Thanks, Eli Lyons ------------------------------------------------------------------------------ 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