def test_plots(self):
     '''Test that plots are correct'''
     data = self.idc.merge_by_year(2000)
     de = DataExplorer(data)
     hist_fig, box_fig = de.plot()
     hist_fig.show()
     box_fig.show()
 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()