Hi,

I'm trying to insert a slider into my figure like the on in the example
slider_demo.py.

from the slider_demo i have:

axcolor = 'lightgoldenrodyellow'
axfreq = axes([0.25, 0.1, 0.65, 0.03])
sfreq = Slider(axfreq, 'Freq', 0.1, 30.0, valinit = f0)

i have a figure with an axes where i displayed an image using imshow. Like:

a = self.fig.gca()
a.imshow(img)

I've tried different stuff, but i get an assertion error when I try:

self.fig.add_axes(axfreq)

Has anyone here tried doing the slider_demo under wxpython?

Soren
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to