How to Change the Date Formatting of X-Axis Tick Labels in Matplotlib and Python

How to change frequency of date x-axis in Matplotlib and Python.