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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy