improve documentation

fixes #1391

and add improvements/fixes to documentation
you mean plotting API, I think...