clean up some spacing

- inconsisten spacing in examples
- one python example with 5-space indentation