Add docstring documentation for widget_float
Added changes to dosctring documentation in widget_float.py (previous docstring written by me).
Added docstring documentation in widget_bool.py.
Removed the two empty lines of dosctring in widget_float.py.
Merge pull request #7059 from silviav12/widget_docstring

Add docstring documentation for widget_float