Getting median added to graphs
Style fixes from various PEPs suggested by Sublime Text