Open chrisgmorton opened 4 years ago
I can confirm that x_div is of type numpy.float64. In my case the value is 5.0.
This is the bug fixed both with PR #27 and #28. If you want to use it, since it was not merged, you can install it from my github branch (where I applied #27 ).
python3 -m pip install --user --upgrade git+https://github.com/alexpacini/pySmithPlot#egg=pysmithplot
Using NumPy 1.18.4 and Matplotlib 3.2.1. Python version is 3.8.3. Mac OS X Catalina although I doubt this issue is platform dependent.
This looks like the derived value for num, using x_div+1, causes the error, likely because x_div is a float. NumPy is probably no longer doing an automatic type conversion. Anyhow, that's an assumption at this point.