--- share/extensions/funcplot.py 2011-07-08 14:25:09.000000000 -0400 +++ funcplot.py 2013-05-13 12:58:24.459769643 -0400 @@ -71,6 +71,18 @@ # functions specified by the user try: + for fns in fx, fpx: + if "scipy" in fns: # Import Scipy + globals()['scipy']=__import__('scipy') + import re + for m in re.finditer('scipy\.(\w+)',fns): + whmod=m.group(1) + if not whmod in dir(scipy): + __import__("scipy."+whmod) # and its modules. + except: + pass # We'll let below error handling handle this. + + try: if fx != "": f = eval('lambda x: ' + fx.strip('"')) if fpx != "":