self.intervald = {YEARLY: [1, 2, 4, 5, 10], MONTHLY: [1, 2, 3, 4, 6], DAILY:
    [1, 2, 3, 7, 14], HOURLY: [1, 2, 3, 4, 6, 12], MINUTELY: [1, 5, 10, 15,
    30], SECONDLY: [1, 5, 10, 15, 30]}
matplotlib datetime xlabel issue