cleanup to_string

Thanks to Arnaud D. for the review
[python] decrease path width (5->2px)

Thanks to Cyril R. for the comment.
[visibility] some update