Discussion:
[pyqtgraph] HistogramLUTItem in color with code
j***@polytechnique.edu
2018-11-29 15:46:19 UTC
Permalink
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
--
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 pyqtgraph+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/0d293b23-e448-489d-a804-8fb9a4fa4de9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Patrick
2018-11-30 02:48:24 UTC
Permalink
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


On Friday, 30 November 2018 02:16:19 UTC+10:30,
Post by j***@polytechnique.edu
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
--
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 pyqtgraph+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/19ac8673-28bc-4a9f-84ec-914d24a01e74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
j***@polytechnique.edu
2018-11-30 08:46:00 UTC
Permalink
Thanks a lot
Post by Patrick
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
On Friday, 30 November 2018 02:16:19 UTC+10:30,
Post by j***@polytechnique.edu
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
--
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 pyqtgraph+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/4b31503d-a192-445a-9444-5df3421e8076%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...