We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03598b commit 72d9271Copy full SHA for 72d9271
tests/test_diagnostics/test_diagnostics_plots.py
@@ -6,6 +6,15 @@ def num_variables(x: dict):
6
return sum(arr.shape[-1] for arr in x.values())
7
8
9
+def test_backend():
10
+ import matplotlib.pyplot as plt
11
+
12
+ # if the local testing backend is not Agg
13
+ # then you may run into issues once you run workflow tests
14
+ # on GitHub, since these use the Agg backend
15
+ assert plt.get_backend() == "Agg"
16
17
18
def test_calibration_ecdf(random_estimates, random_targets, var_names):
19
# basic functionality: automatic variable names
20
out = bf.diagnostics.plots.calibration_ecdf(random_estimates, random_targets)
0 commit comments