Task/charts style and docstrings

Issues: Fixes: #1475 

NOTE: It fixes most of those suggestions in the related issue . I think it makes sense just make this PR close that issue and open a couple of specific issues for what's missing...
superfluous blank line here...