You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plotting an image with matplotlib imshow() broke with version 6.0.0
I have a compressed (LZW) GeoTiff that was produced by GDAL (v 2.4.1, released 2019/03/15). After upgrading from Pillow 5.4.1. to 6.0.0 the background image for a plot was no longer plotting properly.
What are your OS, Python and Pillow versions?
OS: Mac OS X and Linux
Python: 3.7.3
Pillow: 6.0.0
Code to reproduce:
# Python 3.7.3 | packaged by conda-forge | (default, Mar 27 2019, 15:43:19) importmatplotlib.pyplotaspltplt.figure()
plt.imshow(plt.imread('/Path/To/sample.tiff'))
plt.show()
What did you do?
Plotting an image with matplotlib
imshow()
broke with version 6.0.0I have a compressed (LZW) GeoTiff that was produced by GDAL (v 2.4.1, released 2019/03/15). After upgrading from Pillow 5.4.1. to 6.0.0 the background image for a plot was no longer plotting properly.
What are your OS, Python and Pillow versions?
Code to reproduce:
With Pillow 5.4.1
With Pillow 6.0.0
Used image: sample.tif.zip
Compressed with GDAL (2.4.1):
The text was updated successfully, but these errors were encountered: