def test_barplot_trace(self): """BarPlot plots traces without exploding""" trace = trappy.BareTrace() trace.add_parsed_event("event", self.dfr) trappy.BarPlot(trace, signals=["event:foo", "event:bar"]).view(test=True)
def test_barplot_dfr(self): """BarPlot plots dataframes without exploding""" trappy.BarPlot(self.dfr, column=["foo", "bar"]).view(test=True)