Date tick locators and formatters This example illustrates the usage and effect of the various date locators and formatters. import matplotlib.pyplot as plt import numpy as np # While these appear unused directly, they are used from eval'd strings. from matplotlib.dates import (FR, MO, MONTHLY,