@@ -503,7 +503,7 @@ def test_removed_axis():
503
503
504
504
505
505
class TestCollage :
506
- @check_figures_equal ()
506
+ @check_figures_equal (extensions = [ 'png' ] )
507
507
@pytest .mark .parametrize ('x' , [
508
508
[["A" , "A" , "B" ], ["C" , "D" , "B" ]],
509
509
[[1 , 1 , 2 ], [3 , 4 , 2 ]]]
@@ -531,7 +531,7 @@ def test_basic(self, fig_test, fig_ref, x):
531
531
axD = fig_ref .add_subplot (gs [1 , 1 ])
532
532
axD .set_title (labels [3 ])
533
533
534
- @check_figures_equal (tol = 0.005 )
534
+ @check_figures_equal (tol = 0.005 , extensions = [ 'png' ] )
535
535
def test_nested (self , fig_test , fig_ref ):
536
536
x = [["A" , "B" , "B" ], ["C" , "C" , "D" ]]
537
537
@@ -564,7 +564,7 @@ def test_nested(self, fig_test, fig_ref):
564
564
fig_test .tight_layout ()
565
565
fig_ref .tight_layout ()
566
566
567
- @check_figures_equal ()
567
+ @check_figures_equal (extensions = [ 'png' ] )
568
568
@pytest .mark .parametrize ('x, empty_sentinel' , [
569
569
([["A" , None ], [None , "B" ]], None ),
570
570
([["A" , None ], [None , "B" ]], "SKIP" ),
@@ -596,7 +596,7 @@ def test_empty(self, fig_test, fig_ref, x, empty_sentinel):
596
596
axB = fig_ref .add_subplot (gs [1 , 1 ])
597
597
axB .set_title (labels [1 ])
598
598
599
- @check_figures_equal ()
599
+ @check_figures_equal (extensions = [ 'png' ] )
600
600
def test_adjust_existing (self , fig_test , fig_ref ):
601
601
x = [["A" , "B" ], ["C" , "B" ]]
602
602
0 commit comments