Was documenting a series of events and after the list was complete, thought of showing them on a timeline.
After an hour two, fiddling with python standard libraries this is what I had.
Format of the data
from theflile import GenerateTimeLine import pandas as pd data = pd.read_csv(r'events.txt', parse_dates=True, index_col=0) ax = GenerateTimeLine(data) plt.show()
The code as always available at this GitHub