How to hide axis of plot in Matplotlib

Updated post here: https://codeyarns.github.io/tech/2015-06-29-how-to-hide-axis-of-plot-in-matplotlib.html