def setColor(self, color):
        self.figure.set_facecolor(color)
        self.figure.set_edgecolor(color)
        self.canvas.SetBackgroundColour(color)
Set figure and canvas colours to be the same.
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/gui/plotProbability.py/plotProb.setColor