Thanks again Sebastian That is what I needed. Sorry for not replying sooner but I working on something else and I didnt get an automatic email
Cheers RC On Tuesday, April 25, 2017 at 1:46:27 PM UTC+2, Sebastian Höfer wrote: > > Hi RC, > > what you're looking for is in the file > *pyqtgraph\graphicsItems\GradientEditorItem.py* > The default gradients get defined at the top of the file, the menu is > created in the constructor of the *GradientEditorItem().* You can add > your own by adding a list with (position, RGBA-value) tuples there. > > Cheers > Sebastian > > > Am Montag, 24. April 2017 15:48:31 UTC+2 schrieb RC: >> >> Hey Guys >> >> I can create an image and then use pg.HistogramLUTItem() to show the >> histogram of the image. When you click on the context menu of the histogram >> you have a list of 8 or so default colormaps which you can click on the >> change the image colours. I wish to add my own to this list. Does anyone >> know how to do this? I cant seem to find the context menu to edit. >> >> Thanks for any help >> > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/93c651bd-fd74-43aa-bc5e-7c627b108d17%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
