fix title spacing
fix legend font sizing
fix tick mark spacing
fix code formatting
Merge branch 'improve-formatting'

* improve-formatting:
  fix code formatting
  fix tick mark spacing
  fix legend font sizing
  fix title spacing