Le 12/12/2020 à 18:03, [email protected] a écrit :
Hi, I would like rotate HistogramLUTItem to put horizontally

My code:
/.../
view = win.addViewBox(row=0, col=0)
view.addItem(imageItem)
win.addItem(hist, row=1, col=0)

But it doesn't work, why ?

/IMHO/: This is not a rotation problem, but it seems that your positioning is faulty, the histogram got out of your viewport. If you code

*view = win.addViewBox(row=0, col=0)
view.addItem(imageItem)
win.addItem(hist) # default positioning
*

then you'll get:

So, please play with grids / layouts / viewboxes /items a little bit more consciously... This is error prone...

Bon courage.

Jerzy Karczmarczuk

/Caen, France/



--
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/5f4be8c2-6d9b-5782-e2f8-96f7f6cfb618%40gmail.com.

Reply via email to