Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 388af15

Browse files
authored
Merge pull request #16091 from meeseeksmachine/auto-backport-of-pr-16086-on-v3.1.x
Backport PR #16086 on branch v3.1.x (FIX: use supported attribute to check pillow version)
2 parents fd7007b + 5f61067 commit 388af15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
from matplotlib.path import Path
5555

5656
try:
57-
from PIL import PILLOW_VERSION
57+
from PIL import __version__ as PILLOW_VERSION
5858
from distutils.version import LooseVersion
5959
if LooseVersion(PILLOW_VERSION) >= "3.4":
6060
_has_pil = True

0 commit comments

Comments
 (0)