pySmithPlot icon indicating copy to clipboard operation
pySmithPlot copied to clipboard

'numpy.float64' object cannot be interpreted as an integer

Open wenzhao98 opened this issue 3 years ago • 2 comments

Got a 'numpy.float64' object cannot be interpreted as an integer error when run smith_full_test.py. Any idea?

wenzhao98 avatar Feb 17 '22 17:02 wenzhao98

Try replace line 1064 in smithaxes.py file by for xs in np.linspace(x0, x1, int(x_div + 1))[1:]: and line 1068 for ys in np.linspace(y0, y1, int(y_div + 1))[1:]:

sinc avatar Mar 10 '22 11:03 sinc

It worked. Thank you, sinc.

wenzhao98 avatar Apr 26 '22 19:04 wenzhao98