If you see this error in python:
TypeError ‘float’ object not callable
It seems that you are trying to call a method or function and a property or variable with the same name is available in the script. Check for the same. If it was a mistake to use the variable with same name as method – fix it by renaming the variable OR if this property is what you want to access and not call any function then remove parentheses `()’ after property.