def METHOD_NAME(self):
    """Test that an histogram from a scatter is displayed"""
    xx = numpy.arange(10)
    yy = numpy.arange(10)
    value = numpy.sin(xx)
    self.plotImage.addScatter(xx, yy, value)
    self.plotImage.show()
    histoAction = self.plotImage.getIntensityHistogramAction()
    # test the pixel intensity diagram is showing
    button = getQToolButtonFromAction(histoAction)
    self.assertIsNot(button, None)
    self.mouseMove(button)
    self.mouseClick(button, qt.Qt.LeftButton)
    self.qapp.processEvents()
    widget = histoAction.getHistogramWidget()
    self.assertTrue(widget.isVisible())
    items = widget.getPlotWidget().getItems()
    self.assertEqual(len(items), 1)