The attached patch enables users to set the color of Slider widgets.
It simply adds an optional 'facecolor' keyword argument, which defaults to
'b', to the Slider.__init__ constructor, and passes the value to the
self.poly = ax.axvspan function call.
Tested on Windows XP with matplotlib 0.91.2, Python 2.5.1, wxPython 2.8.7.1
unicode.
Regards,
Christoph
John Hunter
None
None
Public
|
Date: 2008-05-28 18:02
|
| Filename | Description | Download |
|---|---|---|
| widgets.patch | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-05-28 18:02 | jdh2358 |
| assigned_to | nobody | 2008-05-28 18:02 | jdh2358 |
| close_date | - | 2008-05-28 18:02 | jdh2358 |
| File Added | 261257: widgets.patch | 2008-01-07 22:29 | cjgohlke |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use