Example #1
0
    def test_plot_freq_hists_single_run(self):
        """plot_utils.plot_freq_hists() works with a single run"""

        run = trappy.Run()

        plot_utils.plot_freq_hists([run], self.map_label)
        matplotlib.pyplot.close('all')
Example #2
0
    def test_plot_freq_hists_single_run(self):
        """plot_utils.plot_freq_hists() works with a single run"""

        run = trappy.Run()

        plot_utils.plot_freq_hists([run], self.map_label)
        matplotlib.pyplot.close('all')
Example #3
0
    def test_plot_freq_hists_single_trace(self):
        """plot_utils.plot_freq_hists() works with a single trace"""

        trace = trappy.FTrace()

        plot_utils.plot_freq_hists([trace], self.map_label)
        matplotlib.pyplot.close('all')
Example #4
0
    def test_plot_freq_hists_single_trace(self):
        """plot_utils.plot_freq_hists() works with a single trace"""

        trace = trappy.FTrace()

        plot_utils.plot_freq_hists([trace], self.map_label)
        matplotlib.pyplot.close('all')
Example #5
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        run1 = trappy.Run(name="first")
        run2 = trappy.Run(name="second")
        runs = [run1, run2]

        plot_utils.plot_freq_hists(runs, self.map_label)
        matplotlib.pyplot.close('all')
Example #6
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        run1 = trappy.Run(name="first")
        run2 = trappy.Run(name="second")
        runs = [run1, run2]

        plot_utils.plot_freq_hists(runs, self.map_label)
        matplotlib.pyplot.close('all')
Example #7
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        trace1 = trappy.FTrace(name="first")
        trace2 = trappy.FTrace(name="second")
        traces = [trace1, trace2]

        plot_utils.plot_freq_hists(traces, self.map_label)
        matplotlib.pyplot.close('all')
Example #8
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        trace1 = trappy.FTrace(name="first")
        trace2 = trappy.FTrace(name="second")
        traces = [trace1, trace2]

        plot_utils.plot_freq_hists(traces, self.map_label)
        matplotlib.pyplot.close('all')