Closed
Description
How to reproduce?
- Run the test script "plotpy\tests\widgets\test_simple_window.py"
- Add a random image
- Show the contrast panel (right-click on the canvas, see context menu)
- Select the image item in the canvas: the levels histogram is plotted in the contrast panel
- Open the "plotpy\tests\data\brain.png" test image
- Select the image: the levels histogram is polluted with the one of the previous image
- Remove the images: the levels histogram stays, no matter what is done afterwards