import matplotlib.pyplot as plt
from matplotlib.dates import date2num, DateFormatter
import datetime as dt
TA = map(lambda x: date2num(dt.datetime(2015, 6, 15, 12, 1, x)), list(range(1, 
    20, 5)))
TB = map(lambda x: date2num(dt.datetime(2015, 6, 15, 12, 1, x)), list(range(1, 
    20, 3)))
A = [1.2, 1.1, 0.8, 0.66]
B = [1.3, 1.2, 0.7, 0.5, 0.45, 0.4, 0.3]
fig, ax = plt.subplots()
ax.plot_date(TA, A, 'b--')
ax.plot_date(TB, B, 'g:')
ax.xaxis.set_major_formatter(DateFormatter('%H:%M:%S'))
plt.show()
How can I plot two different spaced time series on one same plot in Python