[mod] remove useless imports
[mod] trailing spaces
[mod] space code for more lisibility
[mod] blank lines
[doc] fix docstring syntaxe to please sphinx
[mod] space code
[mod] blank line
[doc] fix another docstring
[doc] change display from ipython to python block since ipython breaks expected result and code isn't executed