def test_hist_noby(self):
     '''Test histogram without by variable'''
     data = self.idc.merge_by_year(2000)
     de = DataExplorer(data, year=2000, by=None)
     de.income_histogram()
 def test_hist(self):
     '''Test histogram with by variable'''
     data = self.idc.merge_by_year(2000)
     de = DataExplorer(data, year=2000, by="Region")
     de.income_histogram()