Add plotting example
Fix issue with trailing newlines