plot_utils: add plot_power_hists()
To plot histograms of input and output power
diff --git a/tests/test_plot_utils.py b/tests/test_plot_utils.py
index 361477c..c6a1163 100644
--- a/tests/test_plot_utils.py
+++ b/tests/test_plot_utils.py
@@ -86,3 +86,12 @@
map_label = {"0000000f": "A7", "000000f0": "A15"}
plot_utils.plot_allfreqs(inp, outp, map_label)
+
+ def test_plot_power_hists(self):
+ """Test that plot_power_hists() doesn't bomb"""
+
+ inp = cr2.InPower()
+ outp = cr2.OutPower()
+ map_label = {"0000000f": "A7", "000000f0": "A15"}
+
+ plot_utils.plot_power_hists(inp, outp, map_label)