@@ -66,7 +66,8 @@ def _as_mpl_transform(self, axes):
6666 ax .set_xlim (0 , 100 )
6767 ax .set_ylim (0 , 100 )
6868 # assert that the top transform of the line is the scale transform.
69- np .testing .assert_allclose (line .get_transform ()._a .get_matrix (), mtrans .Affine2D ().scale (10 ).get_matrix ())
69+ np .testing .assert_allclose (line .get_transform ()._a .get_matrix (),
70+ mtrans .Affine2D ().scale (10 ).get_matrix ())
7071
7172
7273@image_comparison (baseline_images = ['pre_transform_data' ])
@@ -78,10 +79,13 @@ def test_pre_transform_plotting():
7879
7980 ax .contourf (np .arange (48 ).reshape (6 , 8 ), transform = times10 + ax .transData )
8081
81- ax .pcolormesh (np .linspace (0 , 4 , 7 ), np .linspace (5.5 , 8 , 9 ), np .arange (48 ).reshape (6 , 8 ),
82+ ax .pcolormesh (np .linspace (0 , 4 , 7 ),
83+ np .linspace (5.5 , 8 , 9 ),
84+ np .arange (48 ).reshape (6 , 8 ),
8285 transform = times10 + ax .transData )
8386
84- ax .scatter (np .linspace (0 , 10 ), np .linspace (10 , 0 ), transform = times10 + ax .transData )
87+ ax .scatter (np .linspace (0 , 10 ), np .linspace (10 , 0 ),
88+ transform = times10 + ax .transData )
8589
8690
8791 x = np .linspace (8 , 10 , 20 )
0 commit comments