def test_plot_pie_labels(self): """Make sure something is generated with labels included""" outpath = self.tmp_dir + "testpie.png" plot_pie(self.data, outpath, self.labels) assert exists(outpath) self._paths_to_clean_up.append(outpath)
def test_plot_pie_title(self): """Make sure something is generated with title included""" outpath = self.tmp_dir + "testpie.png" plot_pie(self.data, outpath, plot_title="testgraph") assert exists(outpath) self._paths_to_clean_up.append(outpath)
def test_plot_pie_pdf_no_labels(self): """Make sure something is generated for pdf""" outpath = self.tmp_dir + "testpie.pdf" plot_pie(self.data, outpath) assert exists(outpath) self._paths_to_clean_up.append(outpath)