@@ -14,35 +14,35 @@ def test_plotter_extents1(self):
1414 c .add_chain (self .data , parameters = ["x" ])
1515 c .configure ()
1616 minv , maxv = c .plotter ._get_parameter_extents ("x" , c .chains )
17- assert np .isclose (minv , (5.0 - 1.5 * 3.1 ), atol = 0.1 )
18- assert np .isclose (maxv , (5.0 + 1.5 * 3.1 ), atol = 0.1 )
17+ assert np .isclose (minv , (5.0 - 1.5 * 3.7 ), atol = 0.2 )
18+ assert np .isclose (maxv , (5.0 + 1.5 * 3.7 ), atol = 0.2 )
1919
2020 def test_plotter_extents2 (self ):
2121 c = ChainConsumer ()
2222 c .add_chain (self .data , parameters = ["x" ])
2323 c .add_chain (self .data + 5 , parameters = ["y" ])
2424 c .configure ()
2525 minv , maxv = c .plotter ._get_parameter_extents ("x" , c .chains )
26- assert np .isclose (minv , (5.0 - 1.5 * 3.1 ), atol = 0.1 )
27- assert np .isclose (maxv , (5.0 + 1.5 * 3.1 ), atol = 0.1 )
26+ assert np .isclose (minv , (5.0 - 1.5 * 3.7 ), atol = 0.2 )
27+ assert np .isclose (maxv , (5.0 + 1.5 * 3.7 ), atol = 0.2 )
2828
2929 def test_plotter_extents3 (self ):
3030 c = ChainConsumer ()
3131 c .add_chain (self .data , parameters = ["x" ])
3232 c .add_chain (self .data + 5 , parameters = ["x" ])
3333 c .configure ()
3434 minv , maxv = c .plotter ._get_parameter_extents ("x" , c .chains )
35- assert np .isclose (minv , (5.0 - 1.5 * 3.1 ), atol = 0.1 )
36- assert np .isclose (maxv , (10.0 + 1.5 * 3.1 ), atol = 0.1 )
35+ assert np .isclose (minv , (5.0 - 1.5 * 3.7 ), atol = 0.2 )
36+ assert np .isclose (maxv , (10.0 + 1.5 * 3.7 ), atol = 0.2 )
3737
3838 def test_plotter_extents4 (self ):
3939 c = ChainConsumer ()
4040 c .add_chain (self .data , parameters = ["x" ])
4141 c .add_chain (self .data + 5 , parameters = ["y" ])
4242 c .configure ()
4343 minv , maxv = c .plotter ._get_parameter_extents ("x" , c .chains [:1 ])
44- assert np .isclose (minv , (5.0 - 1.5 * 3.1 ), atol = 0.1 )
45- assert np .isclose (maxv , (5.0 + 1.5 * 3.1 ), atol = 0.1 )
44+ assert np .isclose (minv , (5.0 - 1.5 * 3.7 ), atol = 0.2 )
45+ assert np .isclose (maxv , (5.0 + 1.5 * 3.7 ), atol = 0.2 )
4646
4747 def test_plotter_extents5 (self ):
4848 x , y = np .linspace (- 3 , 3 , 200 ), np .linspace (- 5 , 5 , 200 )
@@ -55,4 +55,4 @@ def test_plotter_extents5(self):
5555 c .configure ()
5656 minv , maxv = c .plotter ._get_parameter_extents ("x" , c .chains )
5757 assert np .isclose (minv , - 3 , atol = 0.001 )
58- assert np .isclose (maxv , 3 , atol = 0.001 )
58+ assert np .isclose (maxv , 3 , atol = 0.001 )
0 commit comments