How to reproduce:
* load an image
* draw a planar circle and activate the Statistics view
--> the histogram widget shows the expected bar chart
* drag the planar circle and move it so that a part of the circle is out of the bounding box of the image
--> the statistics view shows a notification that the figure is partially out of bounds and plots the intensity profile along the line ( the figure is handled as an open one)
Feature Request:
* I would expect that the Statistics View still draws a histogram bar chart but considering only the intersection region of the figure and the bounding box.