def test_plot_load(self): """Test that plot_utils.plot_load() doesn't bomb""" run1 = trappy.Run(name="first") run2 = trappy.Run(name="second") runs = [run1, run2] plot_utils.plot_load(runs, self.map_label, height=5) matplotlib.pyplot.close('all')
def test_plot_load(self): """Test that plot_utils.plot_load() doesn't bomb""" trace1 = trappy.FTrace(name="first") trace2 = trappy.FTrace(name="second") traces = [trace1, trace2] plot_utils.plot_load(traces, self.map_label, height=5) matplotlib.pyplot.close('all')
def test_plot_load_single_run(self): """plot_utils.plot_load() can be used with a single run""" run = trappy.Run() plot_utils.plot_load([run], self.map_label) matplotlib.pyplot.close('all')
def test_plot_load_single_trace(self): """plot_utils.plot_load() can be used with a single trace""" trace = trappy.FTrace() plot_utils.plot_load([trace], self.map_label) matplotlib.pyplot.close('all')