mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-12 12:30:16 +08:00
Replace PIL with matplotlib in build_versions.py
This commit is contained in:
@@ -4,12 +4,9 @@ from __future__ import print_function
|
||||
|
||||
import numpy as np
|
||||
import scipy as sp
|
||||
from PIL import Image
|
||||
import matplotlib as mpl
|
||||
import six
|
||||
|
||||
for m in (np, sp, Image, six):
|
||||
for m in (np, sp, mpl, six):
|
||||
if not m is None:
|
||||
if m is Image:
|
||||
print('PIL'.rjust(10), ' ', Image.VERSION)
|
||||
else:
|
||||
print(m.__name__.rjust(10), ' ', m.__version__)
|
||||
print(m.__name__.rjust(10), ' ', m.__version__)
|
||||
|
||||
Reference in New Issue
Block a user