@@ -553,7 +553,7 @@ def test_ar_no_lags(self):
553553 assert "lags: none" in ar .__str__ ()
554554
555555 @pytest .mark .skipif (not HAS_MATPLOTLIB , reason = "matplotlib not installed" )
556- def test_ar_plot (self ):
556+ def test_ar_plot (self , agg_backend ):
557557 ar = ARX (self .y , lags = 1 , volatility = GARCH (), distribution = StudentsT ())
558558 res = ar .fit (disp = DISPLAY , update_freq = UPDATE_FREQ , cov_type = "mle" )
559559 res .plot ()
@@ -1351,7 +1351,7 @@ def test_param_cov():
13511351
13521352
13531353@pytest .mark .skipif (not HAS_MATPLOTLIB , reason = "matplotlib not installed" )
1354- def test_plot_bad_index ():
1354+ def test_plot_bad_index (agg_backend ):
13551355 import matplotlib .pyplot as plt
13561356
13571357 idx = sorted (f"{ a } { b } { c } " for a , b , c in product (* ([ascii_lowercase ] * 3 )))
@@ -1476,7 +1476,7 @@ def test_fixed_equivalence(fit_fixed_models):
14761476
14771477
14781478@pytest .mark .skipif (not HAS_MATPLOTLIB , reason = "matplotlib not installed" )
1479- def test_fixed_equivalence_plots (fit_fixed_models ):
1479+ def test_fixed_equivalence_plots (fit_fixed_models , agg_backend ):
14801480 import matplotlib
14811481
14821482 backend = matplotlib .get_backend ()
@@ -1512,7 +1512,7 @@ def test_fixed_equivalence_forecastable(forecastable_model, simulations):
15121512
15131513@pytest .mark .slow
15141514@pytest .mark .skipif (not HAS_MATPLOTLIB , reason = "matplotlib not installed" )
1515- def test_fixed_equivalence_forecastable_plots (forecastable_model ):
1515+ def test_fixed_equivalence_forecastable_plots (forecastable_model , agg_backend ):
15161516 res , res_fixed = forecastable_model
15171517 fig1 = res .hedgehog_plot (start = SP500 .shape [0 ] - 25 )
15181518 fig2 = res_fixed .hedgehog_plot (start = SP500 .shape [0 ] - 25 )
0 commit comments