Hello list,
I observe a small bug in slider_demo.py, which lives in the svn
folder /examples/widgets and can be accessed via
http://matplotlib.sourceforge.net/_static/plot_directive/mpl_examples/widgets/slider_demo.py
.
The hovercolor for grey needs to be a string instead of a float. I attached a
small patch for simplicity.
regards
Matthias
ps: Nevertheless the new webpage looks very nice and searching is well
supported.
Index: slider_demo.py
===================================================================
--- slider_demo.py (revision 6285)
+++ slider_demo.py (working copy)
@@ -26,7 +26,7 @@
samp.on_changed(update)
resetax = axes([0.8, 0.025, 0.1, 0.04])
-button = Button(resetax, 'Reset', color=axcolor, hovercolor=0.975)
+button = Button(resetax, 'Reset', color=axcolor, hovercolor="0.975")
def reset(event):
sfreq.reset()
samp.reset()
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users