So datestr() is supposed to convert a number into a date. But I keep getting this Name error message. Am I not loading the correct module. I have searched the Matplotlib documenation but do not see any specific module that must be imported.
import matplotlib.pyplot as plt
    from matplotlib.dates import DateFormatter, WeekdayLocator,\
        DayLocator, MONDAY
    from matplotlib.finance import quotes_historical_yahoo_ohlc, candlestick_ohlc
    import pandas as pd
    import datetime
    import pandas.io.data as web
    from datetime import date
    import matplotlib
    date = 731613
    print datestr(date)
    #NameError: name 'datestr' is not defined
 
    