crop-down list of colorbars with matplotlib

Hello all,

I'm building an app using matplotlib, and I'd like to have a list of
available colorbars that a user can select from (probably using a
combobox). But I didn't want to use the names of the colormaps, but an
image of each one. Is it possible?

thanks

Carlos

You probably want the wx.combo.ComboCtrl or the
wx.combo.OwnerDrawnComboBox

Both are generic comboboxes that allow you to hack them. See the
wxPython demo for examples.

ยทยทยท

On Jun 30, 5:02 pm, Carlos Grohmann <carlos.grohm...@gmail.com> wrote:

Hello all,

I'm building an app using matplotlib, and I'd like to have a list of
available colorbars that a user can select from (probably using a
combobox). But I didn't want to use the names of the colormaps, but an
image of each one. Is it possible?

thanks

Carlos

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org