<s> import datetime as dt <EOL> import numpy as np <EOL> import matplotlib . pyplot as plt <EOL> import matplotlib . dates as mdates <EOL> from mpldatacursor import datacursor <EOL> t = mdates . drange ( dt . datetime ( <NUM_LIT> , <NUM_LIT:1> , <NUM_LIT:15> ) , dt . datetime ( <NUM_LIT> , <NUM_LIT:2> , <NUM_LIT> ) , <EOL> dt . timedelta ( hours = <NUM_LIT:2> ) ) <EOL> y = np . sin ( t ) <EOL> fig , ax = plt . subplots ( ) <EOL> ax . plot_date ( t , y , '<STR_LIT>' ) <EOL> fig . autofmt_xdate ( ) <EOL> datacursor ( ) <EOL> plt . show ( ) </s>
