'Prevent crash due to missing data.
GH-2122'

def test_none_data(self):

    table = Table(Domain([ContinuousVariable('a'), DiscreteVariable('b', values=['y', 'n'])]), list(zip([], '')))
    self.send_signal(self.widget.Inputs.data, table)
    self.widget.reset_graph_data()
