Some follow up things, hope you don't mind.
1. I'm using ImageView to stream live data and right now every time setImage() is called, the y axis of the histogram widget gets updated with the min and max values of the data. This behavior results in the y-axis jumping around quite a bit if the data range fluctuates significantly image to image. Is there an easy way to disable this update? believe it happens since setImage() calls updateImage() which calls getProcessedImage which, in turn, calls self.ui.histogram.setHistogramRange(self.levelMin, self.levelMax).
2. What's the proper way to embed the ImageView (including the histogram) into a PlotItem? I'd like to have he coordinate axes for the image displayed. Right now if I do
plt = pg.PlotItem()
img_view = pg.ImageView(view = plt)
but then the histogram is missing.
Thanks again, Michael
On Wednesday, May 29, 2013 11:43:20 AM UTC-7, Luke Campagnola wrote: