Matplotlib - Customizing Label Ticks

Often while doing data analysis, there is a requirement to customize the ticks of the plot in order to map the labels to the analysis boundaries, rather than using the default labels.