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