-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Description
skimage/transform/_warps.py contains a lots of future warnings about next versions that are not labelled as FutureWarning. When one needs to suppress future warnings (to see user warnings), one would normally use
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
However, in skimage all future warnings are not marked properly, so it will mess this up.
Solution
replace warn(x) with warn(x, FutureWarning)
Msmhasani