help with colormap on imageview

20 views
Skip to first unread message

azpa...@gmail.com

unread,
Aug 5, 2021, 8:38:21 AM8/5/21
to pyqtgraph
Hello,
I am trying to have a repeating colormap applied to an image view. so if i have a map with 256 colors, for values 0-255, that means color 10 will be the same as 266

in the file provided here is what I tried. 
I would like the first two bars of my image to have same color. 
Any help would be appreciated!

ideally i am trying to get this to work in pyqtgraph0.11 but I switched to 0.12.2 in this example , because i just want to understand it,  but i am stuck :(





ColorMap_imageview.py
Reply all
Reply to author
Forward
0 new messages