Plotting image histograms is implemented using pyqtgraph. At the moment the histogram class is a subclass of 'GraphicsLayoutWidget'. The size of the plot is then set and subsequently is fixed. This means that resizing the window containing the plot does not resize the plot itself. (Using 'resize' is probably changing the size policy.)
Plotting image histograms is implemented using pyqtgraph. At the moment the histogram class is a subclass of 'GraphicsLayoutWidget'. The size of the plot is then set and subsequently is fixed. This means that resizing the window containing the plot does not resize the plot itself. (Using 'resize' is probably changing the size policy.)