plot_utils: create a plot_allfreqs that accepts multiple runs
diff --git a/tests/test_plot_utils.py b/tests/test_plot_utils.py
index 6b2ac8e..2f51cb2 100644
--- a/tests/test_plot_utils.py
+++ b/tests/test_plot_utils.py
@@ -124,3 +124,16 @@
plot_utils.plot_load([run], self.map_label)
matplotlib.pyplot.close('all')
+
+ def test_plot_allfreqs(self):
+ """Test that plot_utils.plot_allfreqs() doesn't bomb"""
+
+ run1 = cr2.Run(name="first")
+ run2 = cr2.Run(name="second")
+ runs = [run1, run2]
+
+ plot_utils.plot_allfreqs(runs, self.map_label, width=20)
+ matplotlib.pyplot.close('all')
+
+ plot_utils.plot_allfreqs([run1], self.map_label, width=20)
+ matplotlib.pyplot.close('all')