aleksandrbazhin / ellipsoid_fit_python

Find ellipsoid fit for arbitrary data with python/numpy, plot it or write to file.
MIT License
75 stars 20 forks source link

Convert to python3 #1

Closed mantielero closed 6 years ago

mantielero commented 6 years ago

It is easy to convert this to python3.

Just replacing the print calls to print() calls in get_calibration_ellipsoid.py and replacing the xrange calls with range calls in ellipsoid_fit.py.

aleksandrbazhin commented 6 years ago

I'll fix it. By the time of writing code matplotlib was unavailable for python 3, as far as I remember. Glad that code is useful.

aleksandrbazhin commented 6 years ago

Works in python 3 now