def dispose ( self ):
        if getattr(self, '_simple_field', None) is not None:
            self._simple_field.dispose()
            self._simple_field = None
        super(CustomColorEditor, self).dispose()

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Creates a new L{ExponentiallyDecayingSample}.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/color_editor.py/CustomColorEditor.dispose--crossover with--dataset/ETHPy150Open dreid/yunomi/yunomi/stats/exp_decay_sample.py/ExponentiallyDecayingSample.__init__