HistogramLUTItem in color with code

50 views
Skip to first unread message

julien....@polytechnique.edu

unread,
Nov 29, 2018, 10:46:19 AM11/29/18
to pyqtgraph
Hello,

I want to set HistogramLUTItem in color with code

imh=pg.ImageItem()
hist=HistogramLutWidget
hist.setImageItem(imh)

This code works but in black and white I have to click on the histogram to change the color but I want to do it in my code

If somebody have an idea
Thanks

Patrick

unread,
Nov 29, 2018, 9:48:24 PM11/29/18
to pyqtgraph
Hi,

I think this is a duplicate of this question where you should find your answer: https://groups.google.com/forum/#!topic/pyqtgraph/oevRga_vO1s

julien....@polytechnique.edu

unread,
Nov 30, 2018, 3:46:00 AM11/30/18
to pyqtgraph
Thanks a lot
Reply all
Reply to author
Forward
0 new messages