Thanks  a lot that worked. However I have a new error.  Please help!!
TypeError                                 Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/numpy/core/function_base.py in linspace(start, stop, num, endpoint, retstep, dtype, axis)
116     try:
–> 117         num = operator.index(num)
118     except TypeError:
TypeError: ‘numpy.float64’ object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
TypeError                                 Traceback (most recent call last)
7 frames
<array_function internals> in linspace(*args, **kwargs)
/usr/local/lib/python3.6/dist-packages/numpy/core/function_base.py in linspace(start, stop, num, endpoint, retstep, dtype, axis)
119         raise TypeError(
120             “object of type {} cannot be safely interpreted as an integer.”
–> 121                 .format(type(num)))
122
123     if num < 0:
TypeError: object of type <class ‘numpy.float64’> cannot be safely interpreted as an integer.