@@ -432,7 +432,7 @@ def test_hidden_axes():
432
432
extents1 = np .copy (axs [0 , 0 ].get_position ().extents )
433
433
434
434
np .testing .assert_allclose (
435
- extents1 , [0.045552 , 0.543288 , 0.47819 , 0.982638 ], rtol = 1e-5 )
435
+ extents1 , [0.045552 , 0.543288 , 0.47819 , 0.982638 ], rtol = 1e-2 )
436
436
437
437
438
438
def test_colorbar_align ():
@@ -638,9 +638,9 @@ def test_compressed1():
638
638
fig .draw_without_rendering ()
639
639
640
640
pos = axs [0 , 0 ].get_position ()
641
- np .testing .assert_allclose (pos .x0 , 0.2344 , atol = 1e-3 )
641
+ np .testing .assert_allclose (pos .x0 , 0.2344 , atol = 1e-2 )
642
642
pos = axs [0 , 1 ].get_position ()
643
- np .testing .assert_allclose (pos .x1 , 0.7024 , atol = 1e-3 )
643
+ np .testing .assert_allclose (pos .x1 , 0.7024 , atol = 1e-2 )
644
644
645
645
# wider than tall
646
646
fig , axs = plt .subplots (2 , 3 , layout = 'compressed' ,
@@ -653,10 +653,10 @@ def test_compressed1():
653
653
654
654
pos = axs [0 , 0 ].get_position ()
655
655
np .testing .assert_allclose (pos .x0 , 0.06195 , atol = 1e-3 )
656
- np .testing .assert_allclose (pos .y1 , 0.8537 , atol = 1e-3 )
656
+ np .testing .assert_allclose (pos .y1 , 0.8537 , atol = 1e-2 )
657
657
pos = axs [1 , 2 ].get_position ()
658
658
np .testing .assert_allclose (pos .x1 , 0.8618 , atol = 1e-3 )
659
- np .testing .assert_allclose (pos .y0 , 0.1934 , atol = 1e-3 )
659
+ np .testing .assert_allclose (pos .y0 , 0.1934 , atol = 1e-2 )
660
660
661
661
662
662
@pytest .mark .parametrize ('arg, state' , [
0 commit comments