File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 17
17
rc_context , rcParams )
18
18
from matplotlib .image import (AxesImage , BboxImage , FigureImage ,
19
19
NonUniformImage , PcolorImage )
20
- from matplotlib .testing .decorators import check_figures_equal , image_comparison
20
+ from matplotlib .testing .decorators import image_comparison
21
21
from matplotlib .transforms import Bbox , Affine2D , TransformedBbox
22
22
23
23
import pytest
@@ -105,15 +105,6 @@ def test_image_python_io():
105
105
plt .imread (buffer )
106
106
107
107
108
- @check_figures_equal ()
109
- def test_imshow_pil (fig_test , fig_ref ):
110
- pytest .importorskip ("PIL" )
111
- img = plt .imread (os .path .join (os .path .dirname (__file__ ),
112
- 'baseline_images' , 'test_image' , 'uint16.tif' ))
113
- fig_test .subplots ().imshow (img )
114
- fig_ref .subplots ().imshow (np .asarray (img ))
115
-
116
-
117
108
def test_imread_pil_uint16 ():
118
109
pytest .importorskip ("PIL" )
119
110
img = plt .imread (os .path .join (os .path .dirname (__file__ ),
You can’t perform that action at this time.
0 commit comments