I am running old code using scipy 1.3.1 with the following import:
from scipy.misc import bytescale
with the following error:
ImportError: cannot import name 'bytescale'
I see that bytescale
has been removed since 1.3 (source). The thread suggests that the scikit-image util
module would be a good replacement, but does not offer one.
What is a good alternative to the now deprecated scipy.misc.bytescale()
?