I recently added to the ImageView class to make a live-updating GUI for a 
camera system. I needed to add markers to the histogram to show the 
10th-90th percentile values. I did think by manually plotting points on the 
HistogramLUTITem's  .plot attribute (PlotDataItem) .scatter attribute 
(ScatterPlotItem), and manually showing the scatter attribute. This was 
necessary since PlotDataItem only has a setData function for plotting, 
which clears the plot each time it is called (unlike the more standard 
PlotItem used in the examples).

Is this the only way to implement adding a plot to the HistogramLUTItem? If 
so, it seems worth replacing the PlotDataItem in the HistogramLUTITem with 
a PlotItem, since it would give more control over the histogram while 
adapting the ImageView class.

-- 
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/d57f2ade-b9c8-4a25-a318-5aabaf890b54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to