Hi, I would like rotate HistogramLUTItem to put horizontally My code:
import numpy as np import pyqtgraph as pg # random image data img = np.random.normal(size=(100,100)) # GUI pg.mkQApp() win = pg.GraphicsLayoutWidget() win.show() imageItem = pg.ImageItem(img) hist = pg.HistogramLUTItem() hist.setImageItem(imageItem) hist.rotate(90) view = win.addViewBox(row=0, col=0) view.addItem(imageItem) win.addItem(hist, row=1, col=0) QtGui.QApplication.instance().exec_() But it doesn't work, why ? 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/fb9a7043-88bb-4e25-8591-f4906f21f680n%40googlegroups.com.
