'DeprecationWarning' when using list comprehension
input_range = srange(-3,3,.02)
[sigmoid(x) for x in input_range]
gives warning:
DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
See _blah_ trac.sagemath.org/5930 for details.
Am I really doing something wrong here?
List comprehension syntax is prefered idiom in Python AFAIK
markup keeps failing :-(
list_plot(list(map(sigmoid,input_range)))
is ok